SQL 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 'AND torrentid=9544' at line 1

in /home/spb/domains/sportbit.org/public_html/download.php, line 16