On 28 Apr 2002 at 15:14, 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'], ""; }
> ?>
Means you stuffed up your sql query. If you've copied it down right
then I'd say you need to ditch the ';' from your query.
CYA, Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php