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

Explanation: header('Location: ...') sends a raw HTTP header to redirect the browser.

Explanation by: Mr. Dubey
header('Location: ...') sends a raw HTTP header to redirect the browser.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
33
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate