Can you save a variable to post in php to pickup on another page? I only know how to retrieve a post variable, or is this where you should use session instead. I don’t want to save my variable on the end of the url and use get.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is where you might want to use
$_SESSIONvariables, instead of$_POST.See: http://php.net/manual/en/reserved.variables.session.php