Q:

What will be the output of the following PHP code? Say your previous session username was nachi

belongs to collection: SESSION HANDLING IN PHP MCQ

0

What will be the output of the following PHP code? Say your previous session username was nachi.

unset($_SESSION['username']);
printf("Username now set to: %s", $_SESSION['username']);

  1. Username now set to: nachi
  2. Username now set to: System
  3. Username now set to:
  4. Error

All Answers

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

 (c).Username now set to:

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
An attacker somehow obtains an unsuspecting userâ€... >>
<< Which one of the following statements should you u...