MySQL Forums
Forum List  »  PHP

Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
Posted by: Mike Carter
Date: September 07, 2005 11:13PM

Were you able to resolve this error? If so, great! If not, I have encountered this before. Here is my solution $var1 = mysql_query($select_stmt) or die("<br />". mysql_error()); This will identify any query syntax errors...Which created this very problem for me....

I hope this helps!

Options: ReplyQuote


Subject
Written By
Posted
August 10, 2005 10:15PM
October 26, 2005 04:35PM
October 26, 2005 04:38PM
January 14, 2006 03:43AM
September 08, 2005 02:08PM
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
September 07, 2005 11:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.