November 14th, 2012, 12:21 PM
-
Help with a redirect to a new page in a new tab
Right now when I implement this code it redirects my current page to a new page, but what I want it to do is open a new tab with the new page.
<?php
/* Redirect browser */
header("Location: (new page)");
exit;
?>
November 14th, 2012, 12:35 PM
-
Give people a link to click and let them decide if they want to open it in a new tab/window.
Otherwise AFAIK you can't open a new tab. You can use Javascript's window.open() to open a new window, however.