We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: SELECT p.id,p.user,p.userid,p.cat,p.storecat,p.title,p.ismature,p.bigimage,p.height,p.width,
c.catname, c.catname1, p.id*0+RAND() as rand_col SELECT p.id,p.user,p.userid,p.cat,p.storecat,p.title,p.ismature,p.bigimage,p.height,p.width,
c.catname, c.catname1 FROM ppi_photos p
LEFT JOIN ppi_categories c on c.id = p.cat WHERE p.approved=1 AND p.storecat=0 ORDER BY rand_col DESC LIMIT 37
Result: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELECT p.id,p.user,p.userid,p.cat,p.storecat,p.title,p.ismature,p.bigimage,p.hei' at line 2
Database handle: Resource id #7
|
|