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

From: Pratchaya (pratchaya_at_banana.co.th)
Date: 07/25/05


Date: 25 Jul 2005 12:12:47 -0700

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



Relevant Pages