faqts : Computers : Programming : Languages : PHP : Database Backed Sites

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

49 of 212 people (23%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

Warning:mysql_num_rows():supplied argument is not a valid MySQL result resource in /* Whats can be?

Aug 1st, 2004 05:07
Cinley Rodick, Bill Sanders, Ric Ads, http://www.generalforums.com , http://www.generalforums.com/yellow/


$result = mysql_query($query) or die("Could not run query.");
$numrows = mysql_num_rows($result);

In the code above, $result is the valid MySQL result resource.