0

Dear,
I am using following code to show php page in popup window

<form name="myform" method="post" action="payhistory.php">

<input name="pay_his" type="submit" class="memberhistory" value="Payment history" onclick="myform.target='POPUPW'; POPUPW = window.open('about:blank','POPUPW','width=550,heig ht=400','scrollbars = yes','title= ' );" />
</form> // working good

Now I want to use Php header location function instead of using form, how i can open my payhistory.php as pop up window through php header function.

any pls help me. advance thanks lot.

2
Contributors
1
Reply
3
Views
5 Years
Discussion Span
Last Post by pritaeas
0

A header() redirects to a different PHP file. It is not meant to open a (Javascript) popup window. You can redirect to a different PHP file, that automatically opens the popup when the page is loaded though.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.