in reply to Script does not die when DB connection fails

Excuse the silly question, but are you SURE it's the prepare rather than the execute which fails ?
(in clear : why no error checking on the execute)

"Only Bad Coders Code Badly In P</b
  • Comment on Re: Script does not die when DB connection fails