Q:

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

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)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now