Exceptions and suppressing mysqli errors
View Single Post
05-07-2008, 04:43 PM
Join Date: Apr 2007
Good to see you're happy delayedinsanity
sketchMedia, the manual isn't very clear I must admit! However, it is simply not possible to assign a value of FALSE to a variable when using
$var = new Something
which is why an empty object is returned on error and you have to check
to see if something went all wonky.
View Public Profile
Send a private message to Salathe
Visit Salathe's homepage!
Find More Posts by Salathe