You will have to create your <FORM> from the DB setting the name and value.
<INPUT name='fieldname' value='fieldvalue_rowid' type=text >
You will have to do this for every field and row
Nest loops are needed to do this
// sortof code
while( $row = mysql_fetch_assoc() )
foreach( $row as $value => $key )
echo 'input stuuf';
You will obviously have to create a table and all assoc. tags to make it neat.
HalfaBee