Jump to content

Recommended Posts

if the first line gets an error it will be suppressed and the script will keep going and $con will = false in the second script if the connection fails some errors will be displayed(if display errors is on)

 

Scott.

Thanks for the answers. :D

 

I'm making a script that's going to be implemented on a hosted forum for others to use. So having it not display any errors is great! I don't want people to freak out when they get some error messages. :D

 

Thanks again,

Ken

Thanks for the answers. :D

 

I'm making a script that's going to be implemented on a hosted forum for others to use. So having it not display any errors is great! I don't want people to freak out when they get some error messages. :D

 

Thanks again,

Ken

 

Then turn off display_errors in either your php.ini or at runtime using ini_set().

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.