Redirecting to a new page
Posted
by Pankaj Khurana
on Stack Overflow
See other posts from Stack Overflow
or by Pankaj Khurana
Published on 2010-03-25T05:57:29Z
Indexed on
2010/03/25
6:03 UTC
Read the original article
Hit count: 517
php
Hi,
I have defined a function in which i want to open a page on a new window. The function has following code:
echo"<script>window.location.href='http://localhost/paymentsystem/views/payment.php?id=".$id."'</script>" ;
Right now its opening the page on the same window.
I want to know how can i open this page on a new tab?
Regards,
Pankaj
© Stack Overflow or respective owner