Exceptions and suppressing mysqli errors
View Single Post
05-07-2008, 04:14 PM
Join Date: Oct 2007
Location: Manchester, UK
I think the manual is a little lacking in areas, it even says that the constructor for mysqli returns FALSE on connect fail, but a constructor can't return values.
taken from "http://uk.php.net/manual/en/mysqli.connect.php"
Returns a object which represents the connection to a MySQL Server or
if the connection failed.
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
View Public Profile
Send a private message to sketchMedia
Visit sketchMedia's homepage!
Find More Posts by sketchMedia