A

Admin • 832.27K Points
Coach

Q. Which function can be used to redirect to another page in PHP?

  • (A) header('Location: url');
  • (B) redirect('url');
  • (C) go_to('url');
  • (D) navigate('url');
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

The header() function sends a raw HTTP header for redirection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.