didn't want to bother everyone with all the code, but here's a mildly edited version ...
here's the form: <form name="form1" method="post" action="main.php" target="_top" > <input type="hidden" name="city" value="<?php echo $city; ?>" > <input type="hidden" name="password" value="<?php echo $password; ?>" > <?php echo "city is " . $city. "<br>password is " . $password; ?> You're authorized ! Click <input type="submit" name="Submit" value="HERE"> to continue. </form> -------------- here's the framed page called by the form: <html> <head> <title>Paymentech Print Orders</title> <base target="main"> </head> <frameset rows="85,*"> <frameset cols="200,*"> <frame frameborder="0" noresize marginwidth="0" marginheight="0" scrolling="no" src="top.html"> <frame frameborder="0" noresize marginwidth="0" marginheight="0" scrolling="no" src="top_right.html" bordercolor="#c32933"> </frameset> <frameset cols="200,*"> <frame frameborder="0" noresize marginwidth="0" marginheight="0" scrolling="no" src="middle_left.php" > <frame frameborder="0" noresize marginwidth="20" marginheight="20" src="middle.php" name="main" > </frameset> </frameset><noframes> <body bgcolor="#FFFFFF"> </noframes> --------------------- and here's the page within the frame where i'm trying to use the values from the form above: <?php echo "city is " . $city . "<br>password is " . $password; ?> <table width="520" border="0" cellspacing="3" cellpadding="5" height="348"> thanks again, ken ----- Original Message ----- From: "Dave Watkinson" <[EMAIL PROTECTED]> To: "baker downloads" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, October 18, 2001 11:04 AM Subject: RE: [PHP] remembering variables between pages when using forms ... where's your code ken? are you being strict with the case of the variable name? is the hidden element within the forms tags??? -----Original Message----- From: baker downloads [mailto:[EMAIL PROTECTED]] Sent: 18 October 2001 17:13 To: [EMAIL PROTECTED] Subject: [PHP] remembering variables between pages when using forms ... i hope i can make my question understood ... i've input a value $city in my form, and i can retrieve it on the following page (the page which was the "action" of the form) ... but then, when i try to use a "hidden" type to move it to my next page (which is a form), i lose the value ... i cannot access it from a page within the form ... does that make sense? if so, can anyone help? thanks in advance. ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]