Re: Needs a clarification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ajith G wrote:
> Hello Friends,
> 
> Can any one tell me the significane of '@' symbol,
> 
> $link = @mysql_connect("localhost", "mysql_user",
> "mysql_password");
> 
> Any explantion is greately appreciated!!
> 

It supresses errors, if any should arise.


http://www.php.net/mysql_connect
"Note:  You can suppress the error message on failure by prepending a @ 
  to the function name."



PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux