Q:

Which one of the following statements should you use to set the session username to Nachi?

belongs to collection: SESSION HANDLING IN PHP MCQ

0

Which one of the following statements should you use to set the session username to Nachi?


  1. $SESSION[‘username’] = “Nachi”;
  2. $_SESSION[‘username’] = “Nachi”;
  3. session_start(“nachi”);
  4. $SESSION_START[“username”] = “Nachi”;

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(b).$_SESSION[‘username’] = “Nachi”;

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

SESSION HANDLING IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What will be the output of the following PHP code?... >>
<< What will the function session_id() return is no p...