PHP Pass variable to next page

后端 未结 8 2368
Happy的楠姐
Happy的楠姐 2020-11-21 06:40

It seems pretty simple but I can\'t find a good way to do it.

Say in the first page I create a variable

$myVariable = \"Some text\";
<
8条回答
  •  我在风中等你
    2020-11-21 06:57

    try this code

    using hidden field we can pass php varibale to another page

    page1.php

    
    

    pass php variable to hidden field value so you can access this variable into another page

    page2.php

    
    

提交回复
热议问题