select count(id) as cid from photos where author=
MySQL Error : select count(id) as cid from photos where author=
Error Number: 1064 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
Date        : Wed, November 1, 2017 04:44:14
IP          : 54.165.59.7
Browser     : ia_archiver
Referer     : 
PHP Version : 5.2.17-2+mh3
OS          : Linux
Server      : Apache
Server Name : archipelag.ru
Script Name : /index.php