Quote:
Originally Posted by squawell
hello Hostc i got those error messages below:
PHP Code:
SQL: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid= mysql error: 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
PHP Code:
SQL: SELECT post.postid, thread.visible FROM post LEFT JOIN thread ON thread.threadid=post.threadid WHERE post.visible=1 AND thread.visible=1 AND 1=1 AND post.userid='1451' ORDER BY post.dateline DESC,post.dateline DESC LIMIT 0,25 LIMIT 0, 25 mysql error: 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 'LIMIT 0, 25' at line 10
how to fix that? thankz~
|
For the last one,
see the Limit 0, 25?
Take out the space before 25