How PHP transfers values between different pages: 1. Use post to transfer values; 2. Use get to transfer values; 3. Use session to transfer values. Session is a type of global variable. It is often used to save common data such as user ID after the user logs in. Choosing session is a very good choice.
Three commonly used methods:
1. POST value transmission
(Recommended tutorial: php video Tutorial)
Post value is a method used for HTML