A

Admin • 832.52K Points
Coach

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

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.