SQL_ERROR

select * from infinitymall_pages WHERE id=
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 '' at line 1
SQL_ERROR

select * from infinitymall_templates WHERE id= AND user='administrator'
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 user='administrator'' at line 1