Using SESSION is very convenient.
For example, if you want to pass the id value in A.php to B.php, the method is:
In A.php:
session_start(); $_SESSION['get_id'] = $get_id;
Receive in B.php:
session_start(); $get_id = $_SESSION['get_id'];//从session读取id
The above introduces the value transfer method between PHP and PHP scripts, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.