Benjigga Posted August 19, 2008 Share Posted August 19, 2008 I've read through a few tutorials and two books and I haven't found anything to explain this. What is the difference between the function $POST and $_POST? What is the purpose of the underscore? As far as I cal tell, $POST is for storing data and $_POST is for retrieving? Can someone please tell me if I'm right? Link to comment https://forums.phpfreaks.com/topic/120290-solved-really-basic-php-question/ Share on other sites More sharing options...
PFMaBiSmAd Posted August 19, 2008 Share Posted August 19, 2008 $POST is just a variable name and has no special significance. If you saw this in something related to a form, then it was a typographical error. $_POST is an array that is populated from form data that was submitted using the post method. Link to comment https://forums.phpfreaks.com/topic/120290-solved-really-basic-php-question/#findComment-619728 Share on other sites More sharing options...
pocobueno1388 Posted August 19, 2008 Share Posted August 19, 2008 This should help you http://www.tizag.com/phpT/postget.php Link to comment https://forums.phpfreaks.com/topic/120290-solved-really-basic-php-question/#findComment-619732 Share on other sites More sharing options...
Benjigga Posted August 19, 2008 Author Share Posted August 19, 2008 This should help you http://www.tizag.com/phpT/postget.php Yes, this was exactly what I was looking for, thanks a lot! Link to comment https://forums.phpfreaks.com/topic/120290-solved-really-basic-php-question/#findComment-619735 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.