Created
June 20, 2012 15:39
-
-
Save jlleblanc/2960546 to your computer and use it in GitHub Desktop.
What more error reporting do you need?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Save the user | |
if (!$model->save($data)) | |
{ | |
print 'crap!'; | |
die(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment