Can someone help me to explain what is the different between $_POST and using $SESSION?
Please correct me if Im wrong - As far as I understand that:
$_POST function is used to collect values from a form sent with method = "post" and it is invisiable to other.
$_SESSION variables is used to store information about or change setting and also hold information about one single user and available to all pages in one application.
When I using sessions as a confirmation page it does not seem to be loaded but it redirect to the main page. For example: user modify the detials or even create a new user data then when the user click the button submit it should go to the confirmation page before proceed to the main page but this did not happen. Can anyone explain to me what went wrong? Is that because I did not send the form or something missing?
Thanks.