Use session::set('user_info',$data); in $data to use the data submitted by the form to view the attribute information of user_info
明空2018-02-08 16:06:08
The teacher did not record the session. The saved info contains the id attribute. You can just save a separate one by yourself. Run the entire program first
寻觅 beyond2017-10-03 17:43:18
$_SESSION is a global array, you can view the contents of the session through print_r($_SESSION)