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:
?php
/* connect to database */
if(!($srcDB =
and by the way, the query on line 16 (the problematic one) works fine when
run directly in MySQL.
Tim
Tim Lan [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
The following code is supposed to migrate data from an old database to a new
one, but produces t
03 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
Is there anyway to use fopen() to open a webpage through a non-standard
port? For example, the webpage I need must be accessed through port 2734
instead of the standard HTTP port 80, and PHP seems to ignore port
information in the URL (e.g. fopen( http://www.domain.com:2734/...; ); )
Thanks in
4 matches
Mail list logo