Windows and Linux
| From: | Mujahid | Date: | Mon, 19 Mar 2001 19:30:57 +0000 |
| Subject: | Windows and Linux | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6148@lists.php.net to get a copy of this message | ||
Hi everyone,
I built a small requirement using PHP and mySQL and using Win'98 and PWS as
my production server. I followed the default instructions in setting this
up.
After the phase was completed we copied the site and the db script on a
Linux machine with Apache Web Server.
However some of our mySQL code is not working. Are there any known issues
and differences while porting ?
I get errors like:
Warning: Supplied argument is not a valid MySQL result resource in
/usr/local/etc/httpd/htdocs/shrunkenplanet/demo/content/index.php on line 12
line 12 has the following code:
$row_array = mysql_fetch_row($rsRef);
I know my connection to the db is being established. Command like $rsRef =
mysql_query($Query); are working (since they occur before mysql_fetch_row()
Can anybody point me in the right direction. I am at my wit end trying to
figure this out. Unfortunatly I have absolutly no knowledge of Linux and
Apache. I guess it as to do with the mySQL library installed or some
configuration settings ?
Any help will be really appreciated.
TIA
-Mujahid