03-19-2009, 07:25 PM
|
#6 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Quote:
Originally Posted by nefus
I ran into something today that looks a tiny bit different.
Any real difference between
Code:
if($result){
//do something with the result
}
and this
Code:
if(@$result){
//do something with the result
}
Why use the @ symbol?
|
The @ symbol suppresses warning messages.
|
|
|
|