Which One Of The Following Statements Should You Use To Set The #243
Which one of the following statements should you use to set the session username to Nachi?
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 PHP File and Session Handling - PHP Session Handling - Quiz No.2.
Which one of the following statements should you use to set the session username to Nachi?
$SESSION[‘username’] = “Nachi”;
$_SESSION[‘username’] = “Nachi”;
session_start(“nachi”);
$SESSION_START[“username”] = “Nachi”;