> On Sun, Jul 4, 2010 at 7:25 AM, Andre Lopes <lopes80andre@gmail.com> wrote: >> Great! That [begin exception end] is what I need! >> >> Thank you Pavel. >> >> Best Regards, > > Just a quick heads up: functions with exception handlers tend to be > more expensive than those without, even if the exception doesn't fire.
yes, better to use prepared statement and read diagnostics info from PHP