DB Error: syntax error
SELECT pis_partner, pis_title, pis_number, pis_date, pis_content
                 FROM  partnerissue
                 WHERE (pis_date<=now())
                 AND (pis_partner=)
                 AND (pis_date='2011-09-23')
                  [nativecode=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 ')
                 AND (pis_date='2011-09-23')' at line 4]