[EMAIL PROTECTED] (Andy Amol) wrote in

> I have posted my problem at No: 33892 of this mailing list. I have
> received 1 reply. No: 33897 
> My exact problem with second file is as follows:
> Warning: mysql_num_rows(): supplied argument is not a valid MySQL
> result resource on line 15 
> Can you help me to solve problem, any help would be appreciated.
> Thanks.

Your sql syntax is probably wrong. Somewhere before line 15 you are 
presumably using mysql_query to submit your query. Try adding to that line

or exit( 'Error: ' .mysql_error() );

which will halt your script and return a useful error string from mysql if 
there is an error.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to