[thelist] Simple PHP question

Hassan Schroeder hassan at webtuitive.com
Tue Sep 23 15:37:05 CDT 2003


Geoff Sheridan wrote:

> What does the  = @  mean in the following snippet?
> 
> while ($row = @ mysql_fetch_row($result)){

<q>
PHP supports one error control operator: the at sign (@). When
prepended to an expression in PHP, any error messages that might
be generated by that expression will be ignored.
</q>

<http://php.net/manual/en/language.operators.errorcontrol.php>

HTH!
-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.





More information about the thelist mailing list