MySQL Errors: get_table_array()#query: query=[select * from sy_main where syndicatorid = order by syndicatorname] 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 syndicatorname' at line 1]