Posted by Good Man on 10/24/07 21:35
trading_jacks <MARKFERGASON@gmail.com> wrote in
news:1193259058.228187.211090@k35g2000prh.googlegroups.com:
> I am new to php and google doesn't allow for searching on the @
> symbol.
>
> I have a script with the following line:
>
> if (@$type_toggle || @cat_toggle) {
> do_query........
>
> What does the @ do? Can you give me a link so I can read about it.
it surpresses error messages, so that if the variable "$type_toggle" or
"$cat_toggle" doesn't exist, error messages/warnings will not be printed to
the screen.
[Back to original message]
|