Do you have a question? Post it now! No Registration Necessary. Now with pictures!
March 24, 2005, 4:26 pm
rate this thread
I'm all sorts of confused on this one...
// My Query:
$result = mysql_query("SELECT * FROM pricehistory WHERE partno partno =
\"".$part."\" ORDER BY partno ASC, year DESC, month DESC limit 1");
// My results:
$numrows = mysql_num_rows($result);
// The error that I'm getting:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /***/***/***/***/***/***/searchHist2.php on line 28
Any guesses? I know I'm missing something, I just can't figure out what...