Reply to Re: What does @ do?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация