On Mon, Dec 12, 2011 at 4:22 PM, FeIn <acid24@xxxxxxxxx> wrote: > I don't think you're suppose to end your queries with a semicolon. Try: > you can end your queries with semicolon in prepared statements. How can I see the prepared SQL statement before it is executed? try-> var_dump ($statement);