[PHP] Re: Possible PHP/MySQL Bug?

2003-02-01 Thread Tim Lan
.. 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:\..

[PHP] Re: Possible PHP/MySQL Bug?

2003-02-01 Thread Tim Lan
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 n

[PHP] Possible PHP/MySQL Bug?

2003-02-01 Thread Tim Lan
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: '.str_replace(array("('", " '", "',", "')"), array("('", " '

[PHP] fopen() using non-standard port

2002-11-09 Thread Tim Lan
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 a