Which of the following PHP function is used to redirect a user from one page to another?
A. header()
B. redirect()
C. redirect_header()
D. goto()
Answer:A
Which of the following PHP function is used to redirect a user from one page to another?
A. header() B. redirect() C. redirect_header() D. goto()
Explanation: In PHP, the header() function is used to send a raw HTTP header. It is often used for redirection.