Database error! SELECT message_id FROM messages WHERE create_dt > '2012-04-16 17:37:50' AND recipient = AND status = 'A' ORDER BY create_dt 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 'AND status = 'A' ORDER BY create_dt DESC' at line 3