What is the difference between using include and header for page redirection in PHP?

When redirecting to another page in PHP, the main difference between using `include` and `header` is that `include` includes the content of the specified file into the current page, while `header` sends a raw HTTP header to the browser, instructing it to redirect to a new location. If you want to redirect to a new page without including its content in the current page, you should use `header` for page redirection.

// Using header for page redirection
header("Location: newpage.php");
exit;