Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+11 votes

We are trying to transfer a variable from one page to another php page when a button is clicked and redirects the user to a the new page. How to you store a variable and keep it the same in the next page?

asked in CSC215 by (8 points)

1 Answer

+7 votes
 
Best answer

You can use the method POST in PHP
https://www.w3schools.com/php/php_forms.asp

answered by (2.7k points)
selected by
...