Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Kind of a noob question about @

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Kind of a noob question about @

Postby Xerpher » Wed Oct 02, 2002 7:02 am

Sometimes I see the @ in front of peice of code in php. What is it used for?
Xerpher
New php-forum User
New php-forum User
 
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada

Postby DoppyNL » Wed Oct 02, 2002 7:49 am

@ in front of a function supresses the error message from the actual page.
That way visitors of you're site won't see the error message.

Greetz Daan
DoppyNL
 

Postby Xerpher » Wed Oct 02, 2002 7:50 am

Oh... Cool, thanks.
Xerpher
New php-forum User
New php-forum User
 
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron