#0 MYSQL_obj->Select(uz.id,uz.msg,DATE_FORMAT(uz.datum,'%Y.%m.%d. %H:%i:%s') AS datum,uz.uid,st.CardName, dlgforum_msg uz,user st, uz.te_id='351' AND uz.torolve<>'I' AND uz.uid=st.uid, id DESC LIMIT -10,10) called at [/var/www/sarretlife.hu/classes/forum.php:687] #1 forum->UzenetLista() called at [/var/www/sarretlife.hu/classes/forum.php:68] #2 forum->Show() called at [/var/www/sarretlife.hu/classes/_site.php:950] #3 site->BoxKirak(2, 1, ) called at [/var/www/sarretlife.hu/classes/_site.php:914] #4 site->HasabKirak() called at [/var/www/sarretlife.hu/classes/_site.php:1032] #5 site->Show() called at [/var/www/sarretlife.hu/index.php:7] Lekérdez hiba: 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 '-10,10' at line 1
select uz.id,uz.msg,DATE_FORMAT(uz.datum,'%Y.%m.%d. %H:%i:%s') AS datum,uz.uid,st.CardName from dlgforum_msg uz,user st where uz.te_id='351' AND uz.torolve<>'I' AND uz.uid=st.uid order by id DESC LIMIT -10,10