';? >
Operation Result:
The content of $_session[' Sess_var ' is
Why $_session_[' Sess_var ' did not print out, is the SESSION already invalid?
Reply to discussion (solution)
You are
This assigns the value $_session_[' sess_var ' = "Hello world";
This uses echo $_session[' Sess_var '];
Of
Do you think $_session_ and $_session are a thing?
PHP should be checked for all errors (error_reporting = E_all in php.ini), so PHP will tell you what's wrong.
Session_Start ();
$_session_[' sess_var ' = "Hello world";
Var_dump ($_session);
You are
This assigns the value $_session_[' sess_var ' = "Hello world";
This uses echo $_session[' Sess_var '];
Of
Do you think $_session_ and $_session are a thing?
PHP should be checked for all errors (error_reporting = E_all in php.ini), so PHP will tell you what's wrong.
Thanks, I got it.
Session_Start ();
$_session_[' sess_var ' = "Hello world";
Var_dump ($_session);
Thank you.
You are
This assigns the value $_session_[' sess_var ' = "Hello world";
This uses echo $_session[' Sess_var '];
Of
Do you think $_session_ and $_session are a thing?
PHP should be checked for all errors (error_reporting = E_all in php.ini), so PHP will tell you what's wrong.
Sorry, just now the knot did not notice that the score cannot be filled in by hand, and the result score allocation is invalid.