Page 1 of 1

using @ symbol

Posted: Fri Apr 03, 2009 4:52 pm
by saltzmanjoelh
I have seen a few people use @mysql_query()

what is the point of the @ symbol?

Re: using @ symbol

Posted: Fri Apr 03, 2009 4:54 pm
by pickle
It's for error suppression.

Do a Google search for "PHP @ symbol" - you'll get all the info you need.

Re: using @ symbol

Posted: Fri Apr 03, 2009 11:44 pm
by miyur
you can suppress the code generated errors with @symbol but it's recommended not to use it as error suppression with @ is very low.instead try correcting you code. you can use @ as the last option. :)

Re: using @ symbol

Posted: Thu May 07, 2009 8:01 am
by miyur
any more comments are welcome ...