FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PHP syntax





asiddle423
can anybody tell me what the @ sign is for use in php

i have seen this a few times for certain bits of scripts but don't understand what it is for as the code will work with out it.

e.g. @mail($to, $subject, $message);
Stubru Freak
asiddle423 wrote:
can anybody tell me what the @ sign is for use in php

i have seen this a few times for certain bits of scripts but don't understand what it is for as the code will work with out it.

e.g. @mail($to, $subject, $message);


It's to ignore error messages.

http://www.php.net/manual/en/language.operators.errorcontrol.php
Related topics
[Official] Best PHP Editor
PHP Tutorials
try this and let see if you are a php geek
Help with PhpBB
gratis forum ?
Php Syntax Errors, Need Help
Contact Script
html editor?
I'm PHP beginner. looking for a PHP editor...
mysql_fetch_array().... pissing me off!
Learning PHP
phpDesigner alternative for mac?
is there any php editor
Where to Learn the Correct Syntax for php
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.