PHP - Sessions and Cookies
How do you correctly assign the value
"John" to a session variable named user in PHP?"John" to a session variable named user in PHP?session_start() before accessing session variables.$_SESSION['user'] = "John"; to set the value.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions