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 '\xB0, 15' at line 1Select * from red_bbs_data where code='free' and notice < 1 order by ref desc, re_step ASC LIMIT 0;°, 15