Discuz! info: MySQL Query Error

Time: 2014-10-1 4:09pm
Script: /doc.php

SQL: SELECT h.*,m.username
FROM [Table]his h, [Table]members m
WHERE h.his_id=
AND h.state=1
AND m.uid=h.his_creator
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 h.state=1\x0D\x0A\x09\x09\x09AND m.uid=h.his_creator' at line 4
Errno.: 1064

An error report has been dispatched to our administrator.