How do I pass data between pages in PHP?

后端 未结 5 1474
遇见更好的自我
遇见更好的自我 2020-12-01 20:01

In a nutshell on \"page1.php\" I have a calculator that consists of an HTML form, and then the PHP code totals the input and displays the total price. Below the price, it al

5条回答
  •  醉酒成梦
    2020-12-01 20:45

    You can try using $_REQUEST instead of $_GET or $_POST - it works for both. Also, if you put in the form on page 2 with your variables posted from page 1 they should get passed right along.

提交回复
热议问题