@?
Posted: Thu Jul 01, 2004 11:01 am
While reviewing other's php scripts, I notice that sometimes they will include "@" preceeding a function
such as mysql_query(), and many other functions (not all mysql related). When I tried using
this on mysql functions, I found the function executes in the same way whether or not I use "@".
Can anybody here tell me what exactly the @ does in php and why I should use it?
I would use google to find such an answer as this however I can guess that a search for this information will prove futile.
Thanks, all help is appreciated.
such as mysql_query(), and many other functions (not all mysql related). When I tried using
this on mysql functions, I found the function executes in the same way whether or not I use "@".
Can anybody here tell me what exactly the @ does in php and why I should use it?
I would use google to find such an answer as this however I can guess that a search for this information will prove futile.
Thanks, all help is appreciated.