header("Location: post-sent.html");
I know you can't open in new tab with PHP. How do I do it with javascript or HTML if possible?
header("Location: post-sent.html");
I know you can't open in new tab with PHP. How do I do it with javascript or HTML if possible?
if( isset($_GET['$abc'] ){
//do your code here, example: echo 'window.open("page.php", $other_Attribute )';
}
As asked here: Open a URL in a new tab (and not a new window) using JavaScript
window.open(url,'_blank');
PHP is not opening anything on client. It just returns data :)