On Sat, 1 Feb 2003 13:28:00 -0800 [EMAIL PROTECTED] (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:[EMAIL PROTECTED]
http://www.MyPhorum.de 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to