Supplied argument is not a valid MySQL result resource
| From: | Dan McCullough | Date: | Sun, 28 Apr 2002 22:14:39 +0000 |
| Subject: | Supplied argument is not a valid MySQL result resource | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95033@lists.php.net to get a copy of this message | ||
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