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@xxxxxxxxx] Sent: Thursday, September 30, 2004 2:30 PM To: php-db@xxxxxxxxxxxxx Subject: *** Detected as Spam *** 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. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php