why am i getting a php error message?

Chris G

New member
These are the messages i am getting, do i have to edit the php.ini file to fix the problem, if not can someone please help:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\EasyPHP 3.0\www\TutorialWebsite\includes\functions.php on line 157

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\EasyPHP 3.0\www\TutorialWebsite\includes\functions.php on line 160
Thanks joe.attaboy
 
There's a problem with a script that is trying to query a MySQL database. Either the table it's reading from has no data, or it can't find the table at all.

This isn't an overall PHP error. It's very specific and in a specific script.
 
Back
Top