SELECT * FROM paper WHERE me_id = ? and pa_type = 'Thesis' ORDER BY pa_year DESC

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 '-10,10' at line 1

#1 /Users/nsi.igl/Sites/igl/member_thesis.php(9): WA_MySQLi_RS->execute()