Ошибка DB:

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 'FROM photos WHERE pcid='25' AND active='1' ORDER BY regdate DESC' at line 1

SELECT sql_cache * FROM photos WHERE pcid='25' AND active='1' ORDER BY regdate DESC