I have an issue with scope, can anyone give a suggestion? Here is the problem:
- variables are set to reflect the user’s responses to the form
- opens a pop-up window, the code for which is stored in a different file. Here is the simplified function:
<?php include("application1.php"); ?>
Actually, I would prefer to pull info from the form (which is in the first file) while in the second file, but I don’t see a way to do it; as far as I know, a window knows itself, and the name of a window that was opened from it… but is it possible to call from a newly opened window the parent window (to access the form which is in the parent window)?
Does it make sense, and is it feasible?
Thanks in advance for any suggestions.