Invalid SQL:
SELECT templateid
FROM template
WHERE styleid = AND title = 'footer';
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND title = 'footer'' at line 3
Error Number : 1064
Date : Sunday, December 2nd 2007 @ 06:03:54 PM