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 'abbr' DESC' at line 2
In this function: Select from smile
In this query: SELECT `id` , `abbr` as `item`, `description` , `like` , `use`
FROM `smsdict`.`abbr` where `abbr` = ':-\'
ORDER BY 'abbr' DESC