Grr SQL syntax error silghtly OT
| From: | JJ Harrison | Date: | Tue, 09 Jul 2002 08:09:44 +0000 |
| Subject: | Grr SQL syntax error silghtly OT | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-106263@lists.php.net to get a copy of this message | ||
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