Re: how do I get for to display $_POST value?

From: Date: Mon, 18 Nov 2002 01:57:23 +0000
Subject: Re: how do I get for to display $_POST value?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-124853@lists.php.net to get a copy of this message
I didn't know I could set a value on that... thanks for the info. "John Nichel" <jnichel@by-tor.com> wrote in message news:3DD844B4.703@by-tor.com... > <input type="text" name="pin" value="<?php echo > $_POST['pin']; ?>" > maxlength="20"> > > Jeff Bluemel wrote: > > OK... I have the following code which works perfect. however, when submit > > is pressed I would like it to display the pin number in the form again. > > > > <form action="<?=$HTTP_SERVER_VARS['PHP_SELF']?>" > > method="post" > > name="search"> > > <table border="0" cellspacing="3" cellpadding="3">8 > > <tr align="left"> > > <td >Pin :</td> > > <td colspan="2"><input type="text" name="pin" > > maxlength="20"></td> > > <td align="right"><input type="image" > > src="/images/find-pin.gif" > > style="background-color:#C2C2C2" name="submit" value="Find > > Pin" ></td> > > </tr><tr> > > <td>Batch :</td> > > <td><input type="text" name="batch" > > maxlength="8"></td> > > <td>Serial :</td> > > <td><input type="text" name="serial" > > maxlength="8"></td> > > </tr> > > </table> > > > > > > > > > -- > By-Tor.com > It's all about the Rush > http://www.by-tor.com >

« previous php.general (#124853) next »