On Sun, 28 Apr 2002, Dan McCullough 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'], ""; } > ?>
You'd know if you checked mysql_error() after not getting anything in $result. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php