spires Posted July 23, 2008 Share Posted July 23, 2008 Hi Guys What is: =>, sanitize() and the @ symbol in front of @$_POST[] Used for? I'm just going through some ones code, and have not come across these before. Thanks for your help Link to comment https://forums.phpfreaks.com/topic/116202-solved-quick-questions/ Share on other sites More sharing options...
craygo Posted July 23, 2008 Share Posted July 23, 2008 sanatize() is probably a custom function someone has made, and the @ in front of the POST variable will suppress generating an error if the variable is not set. Ray Link to comment https://forums.phpfreaks.com/topic/116202-solved-quick-questions/#findComment-597532 Share on other sites More sharing options...
JasonLewis Posted July 23, 2008 Share Posted July 23, 2008 And => is used in arrays to set values for keys. $var = array("KEY" => "VALUE"); Link to comment https://forums.phpfreaks.com/topic/116202-solved-quick-questions/#findComment-597534 Share on other sites More sharing options...
spires Posted July 23, 2008 Author Share Posted July 23, 2008 Thanks Thats helps me get to grips with it Link to comment https://forums.phpfreaks.com/topic/116202-solved-quick-questions/#findComment-597537 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.