Jump to content

How about mysql_error, error reporting, and what users see?


Recommended Posts

Hi all,

I have a couple of error related questions. First off, I have a function that I run when I need a special error display. Currently, if there is a mysql_error, I run my function with the mysql_error() inside the function which displays it on a error page. 1. Is it bad to show the user a mysql_error() notice? 2. If I have error_reporting off, will mysql_error() still show up? 3. Is there an easy php function to add content or errors to the error log, or do I have to write something custom?

Thanks for all your help!
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.