On Tue, 27 May 2003, Todd Barr wrote:
> Morning
>
> We recently moved out site to a new server, and scripts that use to work, no longer
> do.
>
> Like mysql_fetch_array worked fine, but now I am getting this error
>
> mysql_fetch_array(): supplied argument is not a valid MySQL result resource
Your query more than likely failed. If you had proper error checking, you'd
of seen this already. Check mysql_error() after your query to see what the
error is:
$rs = mysql_query($query) or die(mysql_error());
or
$rs = mysql_query($query);
if($e = mysql_error())
{ echo "Error occurred: $e"; }
e
2 matches
Mail list logo