Jump to content

Recommended Posts

The @ symbol supresses errors.  It keeps your script from halting if say.... $rs_pages wasn't "a valid MySQL result resource" which is a very very common error.  It usually occurs when an SQL statement has a typo in it.. so to speak.

 

The symbol is good for debugging ... if you didn't care whether or not that line failed or not.

The symbol is good for debugging ... if you didn't care whether or not that line failed or not.

 

The symbol is awful for debugging! Please don't just use it because it's a convenient hack, check that what you're providing to the function is proper before using it as an argument.

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.