just make a standard form and put text fields in it. Set the value of those fields with the variables you pull from the database, like so:
<INPUT TYPE="TEXT" NAME="name" VALUE="<? echo $name ?>">
then put in a submit button and make your action script UPDATE the records in the DB instead of INSERT.