Error:

Error Number: 1064

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 '???+3?9Q?i??Q?;S ORDER BY name ASC' at line 1

select lists.* from lists, apps where apps.id = lists.app AND lists.categoryID = 9998 AND apps.library_id = ÆÊ?+3‚9Q§iŸŒQÇ;S ORDER BY name ASC

Filename: /var/www/bookdb_v3/bookdb/bookdb/models/list_model.php

Line Number: 197

 [in]:   [at]:  (Please click support tab and submit screenshot of this error message)