syntax error: select id,ten from table_news where hienthi=1 and id!='335' and id_cat='1' order by rand() limit 0,10