FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
manum
@ will supress any error message generated by the function

u can even use it with other functions like echo...
Related topics
What computer languages you know?
Mac vs Linux
how many domains ?
master or visa?
Is there a Diffrence?
e-books vs. hardcopy
server 1 and server 2
Runnable and Thread
Network Question..Router/switch/hub
Senior Prank/Vandalism
Thank You
manga/anime question
Pc gaming vs Console gaming
age of empires II
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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