witchy478 Posted January 27, 2012 Share Posted January 27, 2012 hi I'm a newbie in php and I came across this if($_SERVER['REQUEST_METHOD'] == 'POST'){ and this $_POST = $this->_params; I know this might be a stupid question but can you please tell me what they are Quote Link to comment https://forums.phpfreaks.com/topic/255869-newbie-question/ Share on other sites More sharing options...
trq Posted January 27, 2012 Share Posted January 27, 2012 The first is checking to see if the request is of type POST. The secong is assigning a value to the variable $_POST. Quote Link to comment https://forums.phpfreaks.com/topic/255869-newbie-question/#findComment-1311625 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.