πŸ“Š PHP
Q. Which PHP function is used to redirect users to another page?
  • (A) header('Location: page.php')
  • (B) redirect('page.php')
  • (C) go_to('page.php')
  • (D) navigate('page.php')
πŸ’¬ Discuss
βœ… Correct Answer: (A) header('Location: page.php')

Explanation: The header() function with 'Location:' is used to perform HTTP redirection.

Explanation by: Rati Dubey
The header() function with 'Location:' is used to perform HTTP redirection.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
52
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
86%
Success Rate