Click here to Skip to main content
15,917,456 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I have one php page(P1.php), which opens the second php page(P2.php) by sending some variables to P2.php by POST Method.

Now I want to send updated variable from P1.php to the same already opened page P2.php without opening a new instance of P2.php by POST.

How can I do this? Please help?

Thanks in Advance
Posted

1 solution

You could consider using an anchor tag with a target attribute set to suitable name of your choice: HTML <a> target Attribute[^].
If you prefer to do this via javascript you can use window.open using the name parameter to specify a named window[^] instance to use.

Regards,

Manfred
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900