Posted by Johnny on 09/27/06 04:04
"mantrid" <ian.dandav@virgin.net> wrote in message
news:DhiSg.42230$wo3.37618@newsfe7-gui.ntli.net...
> In some of my script ive been using the followin
>
> if(isset($_POST['mybutton'])){
> header("Location: http://www.mysite.co.uk/path/my.php");
> }
>
>
> This changes the page in the open browser window. How can I modify this to
> open a new window without replacing the parent
>
>
this works:
if(isset($_POST['mybutton'])){
echo <<<WIND
<script type="text/javascript">
window.open("http://www.mysite.co.uk/path/my.php");
</script>
WIND;
}
but as you can se also requires js
Navigation:
[Reply to this message]
|