SELECT id,thread_root,thread,nsub,reg_date,title,username,email FROM `antirating_maillist`antirating_ WHERE thread_root = ORDER BY thread ASC
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 thread ASC' at line 1