how do I get for to display $_POST value?
| From: | Jeff Bluemel | Date: | Mon, 18 Nov 2002 01:35:27 +0000 |
| Subject: | how do I get for to display $_POST value? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124851@lists.php.net to get a copy of this message | ||
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>