
Originally Posted by
jondolar
<input type="text" name="field1" value="<? echo $_POST["field1"]; ?>">
The first time through the form, the $_POST["field1"] variable will be empty but once they post the form the form will display the posted field.
If you are first reading from a database to get the initial value, then you are problably reading from the database prior to actually updating the database. In this case, update your database first before you perform your "SELECT" on the database to read the values.
Good luck with your project.
Bookmarks