Re: Windows and Linux
| From: | Phil Driscoll | Date: | Mon, 19 Mar 2001 20:03:19 +0000 |
| Subject: | Re: Windows and Linux | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6153@lists.php.net to get a copy of this message | ||
Whenever you get a warning like 'Supplied argument is not a valid MySQL
result resource...' there is an error in your code - somewhere you have
failed to check that the return value from a mysql call has not returned
zero. In your case, one has, and if you do the check, and then print out
mysql_error() afterwards, you'll find out what went wrong.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org