Re: Supplied argument is not a valid MySQL result resource

From: Date: Sun, 28 Apr 2002 22:22:01 +0000
Subject: Re: Supplied argument is not a valid MySQL result resource
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95036@lists.php.net to get a copy of this message
Probably means your query failed. What line did the error occur on? You should be able to track down your problem with that. On Sunday 28 April 2002 15:14 pm, you wrote: > 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 -- A classic is a book which people praise and don't read. Samuel Clemens

« previous php.general (#95036) next »