Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
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 (1 point)

1 Answer

+7 votes
 
Best answer

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

answered by (1 point)
selected by
...