اخواني حصل لي مشكلة في المنتدى فجاة وصار مايفتح يطلع لي مشكلة في قاعدة البينات وهذي هي
كود PHP:
Invalid SQL:
SELECT
thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount, thread.lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, thread.visible, user.username, user.userid, user.usergroupid, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
, NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
FROM thread AS thread
LEFT JOIN user AS user ON (user.username = thread.lastposter)
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
WHERE NOT ISNULL(thread.threadid)
AND thread.forumid NOT IN (4,)
ORDER BY lastpost DESC LIMIT 0, 5;
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 ')
ORDER BY lastpost DESC LIMIT 0, 5' at line 8
Error Number : 1064
Date : Friday, October 13th 2006 @ 06:55:55 PM
ياليت تشوفون لي حل بسرعة المنتدى وقف كلة
مواقع النشر (المفضلة)