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

When redirecting in PHP, using include will include the specified file in the current script's execution, while header will send a raw HTTP header to the browser to redirect to the specified location. Using include may lead to unexpected behavior if there is output before the include statement, while header is the preferred method for redirection as it is more efficient and does not have this issue.

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