|
Posted by Steve on 11/18/96 11:42
Hi,
I currently have a problem passing a variable value from one page to
another. Once a form submit button is pressed java pops up a window and
displays some information. The problem being is variables value needs to
be passed from the main page to this popup window ... but it isn't. why?
the submit button one the PHP page is
$s_download_action = "index.$phpEx?page=downloads";
$download_url = "download.$phpEx";
$hidden_download_vars = '<input type="hidden" name="download_id"
value="' . $d_id . '" />';
$u_download = "<input type=\"submit\" name=\"get_download\" value=\"" .
$lang['Download'] . "\" class=\"mainoption\" onClick=\"window.open('" .
$download_url . "', '_spdownload', 'HEIGHT=250,resizable=yes,WIDTH=
400');return false;\" />";
echo '<form action="' . $s_download_action . '" method="post">';
echo $hidden_download_vars . '' . $u_download;
echo '</form>';
Navigation:
[Reply to this message]
|