View Single Post
  #2 (permalink)  
Old 06-14-2007, 03:29 PM
acraft acraft is offline
Junior Member
 
Join Date: Jun 2007
Location: Canada
Posts: 1
Send a message via MSN to acraft
Default

When executing your queires you should put them in try catch blocks to catch any exceptions thrown and deal with them. You can put several queries in a try/catch block.

I use the mysqli adapter and it has the same behaviour. The variables are not replaced till the query is prepared and the parameters sent to the server for processing.

HTH

Andrew
Reply With Quote