Forums

PHP

This topic is locked

mysql_fetch_array(): is not a valid MYSQL result

Posted 15 Apr 2004 12:30:21
1
has voted
15 Apr 2004 12:30:21 kb yong posted:
Hai,
l have write a php code select data from database. But i faced this problem when the code run at server.

The Error Message is :
"mysql_fetch_array(): supplied argument is not a valid MySQL result resource "

Izzit because my code erro or mysql server setting problem. Pls guide.
( confirm connection to mysql server no problem )

Thank you for giving me solution <b></b>

Replies

Replied 16 Apr 2004 00:15:57
16 Apr 2004 00:15:57 Phil Shevlin replied:
It probably means that the query is not returning any results. Does it return results when you paste it into phpmyadmin?

Reply to this topic