I don't know the PHP way, Debbie. But in ASP, I can at least give you the concept that I use.
Basically, I gather up all of the form data sent to me via post (no querystrings, since if you I hidden fields, the user can alter the data post facto).
So here's how it works in ASP (the simple coding):
Code:
<%
Dim Some_Field
Some_Field = Request.Form ("Some_Field")
...
%>
<input type="text" name="Some_Field" value="<% = Some_Field %>" />
The first time around, since there's nothing from your form post, ntohing will be assigned to the value.
The second time around, whatever you put in the Some_Field field will appear in the field.
Personally, I prefer to gather form elements to variables since that way, I can populate a form with either values retrieved from a database or form posts or even querystrings on rare occasions, depending on how I choose to set it up.