I need to pass a vaiable from script1, through a pop-up window to script2
Is this possible using a java pop-up window?
One of the many itterations I've tried!
script1.php:
<?php
$footer ="
<a href=\"javascript:void(0)\"
onclick=\"window.open('../../SomePathTo/script2.php?VariableName=+$variable+,
'standard window code removed for brevity!')\"></a>
";
echo "$footer";
?>
The syntax I'm using to add the variable is obviously wrong, it breaks the link.
But more importantly, I'm wondering is this possible or am I heading in the wrong direction?
Thanks, DC