Today I strated using the script because of the file upload features..

Very Nice Script !!!

Now I need to do this in a form:

a) read count_field from mysql database table
(when the form is opened)

b) include count_field as hidden in form
(This form has been filled out this number of times: count_field)

c) when user hits "submit" on the form (only when they hit submit),
add 1 to the count_field and write it back to database table

so the loop can start over the next time the form is filled out, and the updated data is included in the email generated by the form

Thank for any help or direction anybody can give me !