This SQL Error Info!

Present time:

2014-04-24 03:31 AM

Http Host:

Server Name:

Server Software:

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.13

Host IP Address:

Remote User Agent:

CCBot/2.0 (;

The Error number:


The specific Error was:

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 isstop='Y' ORDER BY RAND() LIMIT 2' at line 1

SQL Query :

SELECT * FROM it_tickets WHERE aid= and isstop='Y' ORDER BY RAND() LIMIT 2