About PHP::: Error/Problem PHP Warning: mysql_fetch_array():
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

About PHP::: Error/Problem PHP Warning: mysql_fetch_array():

From: Pratchaya <pratchaya@banana.co.th>
Date: Mon Jul 25 2005 - 21:11:19 CEST

Hi Everyone

==============================================================
About PHP::: Error/Problem PHP Warning: mysql_fetch_array():
==============================================================

In the past i use my code/script work fine with
Mandrake 9.1 - 10.1 ( + apache ,mysql )

Now i move to redhat EL4 with the same code/script

I got error can't login to my code.
and found error on /var/log/httpd/error_log like this

PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL
result resource in /var/www/html/website_in_server/showdata.php

or

PHP Warning: mysql_fetch_array(): supplied argument is not a valid
MySQL result resource in /var/www/html/website_in_server/showdata.php

I think problem source from php.ini or httpd.conf .

Anyone can help me sir.. ?

thank you for advance
Received on Mon Oct 17 21:18:00 2005