Re: Re: Supplied argument is not a valid MySQL : Please Help
| From: | fabrizio dot ermini at sysdat dot it | Date: | Tue, 07 Nov 2000 11:53:15 +0000 |
| Subject: | Re: Re: Supplied argument is not a valid MySQL : Please Help | ||
| References: | 1 | Groups: | php.db php.general php.install |
| Request: | Send a blank email to php-general+get-24082@lists.php.net to get a copy of this message | ||
On 7 Nov 2000, at 11:16, Phil Driscoll wrote:
> 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.
>
It could also be a timeout problem, since it seems related to the
number of rows in the result set. Try setting Max_execution_time
(in php.ini) to a higher value.
HTH
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Fabrizio Ermini Alternate E-mail:
C.so Umberto, 7 faermini@tin.it
loc. Meleto Valdarno Mail on GSM: (keep it short!)
52020 Cavriglia (AR) faermini@sms.tin.it