A

Admin • 832.52K Points
Coach

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')
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.