RE: [PHP] Grr SQL syntax error silghtly OT

From: Date: Tue, 09 Jul 2002 08:26:05 +0000
Subject: RE: [PHP] Grr SQL syntax error silghtly OT
Groups: php.general 
Request: Send a blank email to php-general+get-106266@lists.php.net to get a copy of this message
2count(*)? don't look right > -----Original Message----- > From: JJ Harrison [mailto:webmaster@tececo.com] > Sent: 09 July 2002 9:10 AM > To: php-general@lists.php.net > Subject: [PHP] Grr SQL syntax error silghtly OT > > > Sorry :} > > I get a SQL syntax error at line two of the query: > > $query = "select > 2count(*) as tececo_stats.views, meta_data.title > from > meta_data, tececo_stats > where > meta_data.id = tececo_stats.id"; > > I have stared at this 'till i felt dizzy. can someone tell me > what I am > doing wrong so that I can learn from it? > > Thanks in advance > > > -- > JJ Harrison > webmaster@tececo.com > www.tececo.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#106266) next »