Which PHP function must be called before session variables can be used in a script?
Correct answer A. session_start()
Explanation
session_start() creates a new session or resumes the existing one, making the $_SESSION array available for storing and reading values.
Answer checked How we write and check questions
Discussion