It means your query failed.

www.php.net/mysql_error

---John Holmes...

> -----Original Message-----
> From: Dan McCullough [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 28, 2002 3:15 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Supplied argument is not a valid MySQL result resource
> 
>  What does that error mean?
> 
> $result = mysql_query('select * from aannh_towns;');
> echo 'info stored';
> while ($query_data = mysql_fetch_array($result)) {
>  echo "", $query_data['town'], "", $query_data['town_id'], ""; }
> ?>
> 
> =====
> dan mccullough
> --------------------------------------------------------
> "Theres no such thing as a problem unless the servers are on fire!"
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to