[thelist] Simple PHP question

Timothy J. Luoma luomat at operamail.com
Tue Sep 23 16:30:47 CDT 2003


On Tue, 23 Sep 2003 17:31:57 +0100, Geoff Sheridan 
<web2k2 at premonition.co.uk> wrote:

> Impossible to do a search on this, but probably very simple:
>
> What does the  = @  mean in the following snippet?
>
> while ($row = @ mysql_fetch_row($result)){
>
> ...do something with row
> }
>
> How is it different from just =  ?

I believe that it means to suppress error messages that may occur when 
trying to connect to the mysql DB.

TjL


-- 
30 Days to Becoming an Opera7 Lover: http://www.tntluoma.com/switch
Day 1 - Why Opera?      http://tntluoma.com/opera/lover/7/01/
Day 2 - Configuration   http://tntluoma.com/opera/lover/7/02/
Hate the ads in Opera?  http://tntluoma.com/opera/lover/7/ads/


More information about the thelist mailing list