plznty Posted October 28, 2010 Author Share Posted October 28, 2010 If you put this code on a live production server, you'll probably want to change the error reporting that's in the else{} to something generic like "Sorry, there was a database error." and log the actual error in a logfile instead, but that's another subject. Yeah im planning on doing so. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.