What is the correct syntax in PHP to open a new browser window using header?

To open a new browser window using PHP's header function, you can use the "Location" header with the URL of the page you want to open in the new window. Make sure to include the "target=_blank" attribute in the URL to specify that the page should be opened in a new window.

<?php
header("Location: http://www.example.com/page-to-open.php", true, 301);
exit();
?>