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        : Fri, February 13, 2015 21:46:01
IP          : 207.241.237.211
Browser     : Mozilla/5.0 (compatible; archive.org_bot +http://archive.org/details/archive.org_bot)
Referer     : https://archipelag.ru/authors/text/a300.htm/
PHP Version : 5.2.17-2+mh1
OS          : Linux
Server      : Apache
Server Name : archipelag.ru
Script Name : /index.php