Which one of the following statements should you use to set the session username to Nachi?
(a) $SESSION[‘username’] = “Nachi”;
(b) $_SESSION[‘username’] = “Nachi”;
(c) session_start(“nachi”);
(d) $SESSION_START[“username”] = “Nachi”;
I got this question by my school principal while I was bunking the class.
I want to ask this question from Session Handling-2 topic in chapter File and Session Handling in PHP of PHP
All Replies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.