Re: multiple FORMS on same page problem.

From: Date: Mon, 15 Sep 2003 21:50:30 +0000
Subject: Re: multiple FORMS on same page problem.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162668@lists.php.net to get a copy of this message
--- "Golawala, Moiz M (IndSys, GE Interlogix)" <Moiz.Golawala@ge.com> wrote: > I am creating a page with 2 buttons. ... > <form action="page4.php" method=post> > <?php echo "this is page 4"; ?> > <input type=text name='someVal' value=''"> > <input type='submit' value='page4 Submit'> > </form> > <form action="page5.php" method=post> > <input type='submit' value='page5 Submit'> > </form> ... > I would like to see the variable 'someVal' in the $_POST of both > "page4 Submit" button and "page5 Submit" button. Then put someVal in both forms. When you submit a form, only the data in the form will be sent to the server. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#162668) next »