Re: Supplied argument is not a valid MySQL : Please Help

From: Date: Tue, 07 Nov 2000 11:16:10 +0000
Subject: Re: Supplied argument is not a valid MySQL : Please Help
Groups: php.db php.general php.install 
Request: Send a blank email to php-general+get-24080@lists.php.net to get a copy of this message
Ravi I'll bet money that there is a problem in your php code. My guess is that you are going something like $result=mysql_db_query($db,$query); then later $row=mysql_fetch_array($result); without first checking whether the $result returned from the query was zero. If it was zero, the query went wrong and mysql_error() will tell you why. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org

« previous php.general (#24080) next »