Database error: Invalid SQL: select count(id) from kt_en?_photo_con where iffb='1' and catid!='0'
MySQL Error: 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 '?_photo_con where iffb='1' and catid!='0'' at line 1)
#0 dbbase_sql->halt(Invalid SQL: select count(id) from kt_en?_photo_con where iffb='1' and catid!='0' ) called at [/home/kingtea/public_html/includes/db.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code:65] #1 dbbase_sql->query(select count(id) from {P}_en?_photo_con where iffb='1' and catid!='0' ) called at [/home/kingtea/public_html/includes/common.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code:2003] #2 tblcount(_en?_photo_con, id, iffb='1' and catid!='0' ) called at [/home/kingtea/public_html/photo/module/PhotoQuery.php:97] #3 PhotoQuery() called at [/home/kingtea/public_html/includes/common.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code:1134] #4 comprintpage(photo_en?.html, 1, default) called at [/home/kingtea/public_html/includes/common.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code:594] #5 printpage() called at [/home/kingtea/public_html/photo/class/index.php:37] (../../base/templates/themes/default/photo_en?.html)