Entry
how can I return the data in html form to avoid retyping by the user
May 7th, 2004 14:25
Narendra Jain, chaitanya thakur,
Generate the form as below:
<form method="post" action="<? echo $PHP_SELF; ?>">
<input type="text" name="firstname" value="<? echo $firstname; ?>">
<input type-"text" name="lastname" value="<? echo $lastname; ?>">
<input type="submit" name="formcomplete" value="Sumbit My Form">
</form>
This was the script will take over once the user clicks on the "Submit
My Form" button. The script then takes the firstname and lastname
variables and puts them back on the form.