View Single Post
Old March 7th, 2010, 05:22 AM   #1 (permalink)
DNK.it
Junior Member
Verified Customer
 
Join Date: Dec 2009
Posts: 25
Mysql error code

Hello,

I've received this email from ppp database:

Quote:
An error was encountered during execution of the query:

SELECT id,user,userid,cat,storecat,date,title,description,ismature,keywords,bigimage,width,height,filesize,views,medwidth,medheight,medsize,approved,rating,votes,allowprint,numcom,lastposter FROM pp_photos WHERE userid= AND storecat=0 ORDER BY disporder,bigimage DESC

The query returned with an errorcode of:

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 storecat=0 ORDER BY disporder,bigimage DESC' at line 1
DNK.it is offline   Reply With Quote