User Profile

Collapse

Profile Sidebar

Collapse
vpmurdan
vpmurdan
Last Activity: Feb 12 '11, 07:15 PM
Joined: Feb 8 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • vpmurdan
    started a topic Attachmovie for a symbol, it loops continuously

    Attachmovie for a symbol, it loops continuously

    Hi.
    I have a symbol with some animation in it.
    Proble is when I load it with attachmovie, the symbol plays continuously.

    I would want the symbol to play till the end and stay on the screen.

    could anyone pls help me.

    The code I used is shown below:
    Code:
    	anim1_mc = this.attachMovie("correctAnswer", "anim1_mc" , this.getNextHighestDepth());
    Thank you in...
    See more | Go to post

  • vpmurdan
    replied to Apache2 starting problem
    Hi.
    Check in the 'Services' whether the 'Apache2 service' is created. If not, you can create it by:

    1. open the command prompt
    2. go to the 'bin' directory of Apache . Somewhere like ' Z:\Program Files\Apache Group\Apache\bi n'
    3. type the following code:

    Code:
    apache -k install -n apache2
    Try to start your apache server

    Prakash
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to Multiple MYSQL INSERT statement
    Hi.

    It seems that the '$foreign_user_ id' has the same value in both records. So 1st record is inserted while 2nd is not.

    As you are adding 1 to your user id for each record you should do something like

    Code:
    $query1 = "INSERT INTO answers (answer_score,question_id,user_id) VALUES"
    
    [B]for each record
    
    $item = item of question num
    $Question = question[/]
    ...
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to Executing Shell Commands
    in Perl
    Hi. Can't you create a shell script with all your commands and run it from anywhere .

    Prakash
    See more | Go to post

    Leave a comment:


  • Hi!
    A very dumb reply from me.

    In linux, is the name of your file 'ROOMS2.txt' using the same case?

    Linux is case sensitive.
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to Deleting lines from an active file
    in Perl
    Hi.
    Sorry, I have no answer (yet)?
    but do u have any specific reason why you want to do this?

    May be we can find another solution

    Prakash
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to how to check mysql location
    Hi.

    In PHPMyAdmin, on the screen where you type sql commands type:

    Code:
    show variables like 'base%';
    the base dir will give you the location of your mysql installation.

    For re-installing (i am talking under reserve as I'm not so fluent on linux)

    something like 'rpm -q' to check the fileName of mysql
    something like 'rpm -u FileName' to uninstall

    Prakash
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to Need help... problem with % Symbol
    Hi. I told you, I did try your query and it works! (using desc1 instead of desc). does your table have any record?
    See more | Go to post
    Last edited by vpmurdan; Feb 27 '07, 11:58 AM. Reason: record instead of table

    Leave a comment:


  • vpmurdan
    replied to how to check mysql location
    typing
    Code:
    \s
    in the mysql prompt gives you the location
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to how to update data from share table
    Hi.
    Am sorry if am being rude.
    But do check some examples and you'll have your answer.
    Do some homework.

    an example below:
    Code:
    UPDATE persondata SET age=age*2, age=age+1;
    prakash
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to Need help... problem with % Symbol
    Hi.
    Can you have a field named 'DESC'. DESC is a reserved word and normally can not be used as a field name.

    Otherwise I tried your query with field name 'DESC1' and it works.

    Verify whether you do have any record in your table.

    Prakash
    See more | Go to post

    Leave a comment:


  • Hi.
    I think MySQL always stores date as an integer number. you can format the output when you select a field, e.g.

    Code:
    mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%W %M %Y');
            -> 'Saturday October 1997'
    mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%H:%i:%s');
            -> '22:23:00'
    mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00',
    ...
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to Need Help Transfering Large Database
    Hi.
    1. If you are working with windows use the 'Command Prompt'.
    2. Go to the 'mysql\bin' directory
    3. you should see several executable files there, e.g mysql.exe, mysqldump.exe etc.
    4. Now, export you database to a txt file; in the command prompt type
    Code:
    mysqldump -uroot -p dbname > mydb.txt
    This will create a text file called mydb.txt

    5. Copy the mydb.txt on your pendrive and...
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to Complicated Query
    WXY run the query I gave at post #4 and see what it gives.

    There is only 1 table, which I call 3 times in the query using different alias. This has the same effect as if I was calling 3 different tables....
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to DBI Module
    in Perl
    For appending to @INC: Type the following code in a command-line perl to see how the append works and apply to your program:

    Code:
    print @INC;
    push(@INC, "c:/prakash/temp");
    print @INC;
    
    Ctrl+d

    For using a module:
    use the following:

    Code:
    use moduleName;
    Just see any sample
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to DBI Module
    in Perl
    Hi.
    For the creation of .pm files look at the following site:

    http://www.perlmonks.o rg/index.pl?node_i d=431702

    :
    For the directory to put your module:
    1. you can put in any directory.
    2. The directory should be appended to the '@INC' variable
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to Aggregate query results
    you should be able to do with this:

    Code:
    select haul, count(*), sum(weight)
    from table
     group by haul
     having count(*)=2;
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to Matlab to mysql
    Hi.
    I dont know any matlab. But can it cal a shell program ( like in command prompt)

    If it can, you can use
    Code:
    mysqlimport [options] db_name textfile1
    the table to which data is imported has same name as your textfile (without the extension
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to uploading excel file to mysql
    The detour is b'coz, I could never import excel files directly to mysql. It is also said in the MySQL manual that import feature imports text files.
    Hence the detour....
    See more | Go to post

    Leave a comment:


  • vpmurdan
    replied to uploading excel file to mysql
    Hi.
    I would personally prefer the following solution:


    * Convert your rows to columns and vice-versa in the excel file. This may be done by selecting and copying all your data; click on Edit->Paste Special. Tick 'Transpose'. Paste the data in a new sheet so that you don't lose your data.

    * Save the excel file as a 'Comma-separated values' text file (with extension .txt).

    * load the...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...