RE: [PHP-DB] Mysql_fetch_array
| From: | Ryan Jameson \(USA\) | Date: | Thu, 30 Sep 2004 21:44:24 +0000 |
| Subject: | RE: [PHP-DB] Mysql_fetch_array | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-36495@lists.php.net to get a copy of this message | ||
It means that the "supplied argument is not a valid MySQL result
resource" so.. Line 17 of your script mailsender2.php is trying to
manipulate a variable that isn't actually a mysql result. In some
previous line you should have set the result resource variable equal to
something else, on that line there is probably some problem with your
query or it is empty altogether.
We usually call "result resource" variables $rs, but it can be anything
you or your program wanted to call it...
<>< Ryan
-----Original Message-----
From: Yemi Obembe [mailto:fickledreams@yahoo.com]
Sent: Thursday, September 30, 2004 2:30 PM
To: php-db@lists.php.net
Subject: *** Detected as Spam ***[PHP-DB] Mysql_fetch_array
Does anyone have an idea what may probably be the cause of this error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result resource in /var/www/ng/mailsender2.php on line 17
---------------------------------
A passion till tomorrow,
www.opeyemi.tk
---------------------------------
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.