<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"
<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>
 <td>Batch :</td>
 <td><input type="text" name="batch" maxlength="8"></td>
 <td>Serial :</td>
 <td><input type="text" name="serial" maxlength="8"></td>

It's all about the Rush

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to