FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

What is the diffrence between....

 


dawiid
What is the diffrence between: @session_start(); and session_start();
when you write php. I have discovered that I sometimes need to use the @ in order to get it to work.
MrBlueSky
The @ surpresses error messages.

http://nl2.php.net/manual/en/language.operators.errorcontrol.php
dawiid
Thank you for the answer, I tried searching php.net but I couldn't find anything there guess I didn't really know what to look for either. Again thank you, my php knowledge is growing Very Happy

Last edited by dawiid on Mon Jan 29, 2007 5:55 pm; edited 1 time in total
manum
@ will supress any error message generated by the function

u can even use it with other functions like echo...
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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