Sunday, 11 August 2013

Handling MySQL errors in PHP

Handling MySQL errors in PHP

While developing my website I use mysql_error() to display errors so I
know how to fix them.
My question is... when the website goes live, how should I handle the
errors, because I do not want the user to see the errors but instead see a
user friendly message like "Oops, something went wrong".

No comments:

Post a Comment