The SQL Class
View Single Post
12-31-2008, 12:16 AM
Join Date: Sep 2007
Location: Sweden, Stockholm
Originally Posted by
stop using error suppression i.e. '@'
For one it slows down your script and secondly it makes it hard to debug and I for one can't be bothered
'ing through the code for '@' every time something just blows up and no error is shown.
For the production version, set error_reporting(0).
But I throw an exception if it didn't work? So you'll get your error msg.
View Public Profile
Send a private message to Tanax
Visit Tanax's homepage!
Find More Posts by Tanax