πŸ“Š PHP
Q. Which of these functions is used to redirect to another page in PHP?
  • (A) header('Location: page.php')
  • (B) redirect('page.php')
  • (C) location('page.php')
  • (D) goto('page.php')
πŸ’¬ Discuss
βœ… Correct Answer: (A) header('Location: page.php')

Explanation: header() with Location is used to redirect in PHP.

Explanation by: Rati Dubey
header() with Location is used to redirect in PHP.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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