2count(*)? don't look right

> -----Original Message-----
> From: JJ Harrison [mailto:[EMAIL PROTECTED]]
> Sent: 09 July 2002 9:10 AM
> To: [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
> www.tececo.com
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to