Re: Possible PHP/MySQL Bug?

From: Date: Sat, 01 Feb 2003 21:40:54 +0000
Subject: Re: Possible PHP/MySQL Bug?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-133917@lists.php.net to get a copy of this message
On Sat, 1 Feb 2003 13:28:00 -0800 timothybug@yahoo.com (Tim Lan) wrote: > The following code is supposed to migrate data from an old database to a new > one, but produces the error: > > Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result > resource in C:\...\convertdb.php on line 17 > > The code: > [...] > Any idea? Yeah, read out mysql_error() after sending the query and before doing fetch... to see what mysql thinks is wrong. Regards, -- Thomas Seifert mailto:thomas.seifert@myphorum.de http://www.MyPhorum.de

« previous php.general (#133917) next »