Problem Statement
Which function is used to start a session in PHP?
Explanation
The session_start function initializes or resumes a session. It must be called before any output is sent to the browser to enable PHP to use session variables.
Code Solution
SolutionRead Only
session_start();
Practice Sets
This question appears in the following practice sets:
