I am opening a pop up window using javascript and pulling data using php from a database (MySQL). I am able to accomplish all of this.
What I would like to do is have a user view and select an option from the popup window and have it send a variable back to the original page it was opened from.
I figured I would use a basic link such as:
<a href="original_page.php?id=$id">get value</a>
how would I get this to go back to the original page, right now it just opens up in the new pop up window. Can this even be done like this.
Just to keep this clear, I have a form on the original page with a link to view promotional values in a pop up window. In the pop up (promotional page) they select one of the values which will pass the variable back to the original page and populate a field.
All I need to know is how to speak to the original page. I am assuming this is a javascript not php.
Hopefully that is a liitle more clear.
Thanks for your time