0

hi hope someone can help me out how do i include a autoreferece or auto code inside my php form so each form that i submitted will have its own number or an id of some sort to track how many form have been submitted.when form is sent to email the receiver will see which the number reference or ID.

thanks hope someone can help

3
Contributors
5
Replies
6
Views
5 Years
Discussion Span
Last Post by diafol
0

hi iv been googleing and got a few ideas one suggested using a flat file and add a digit (id) to start with and auto increment from that number from each form submited and each time a new form is submited write the new auto increment id to the flat file and so on.

Im looking for a simple and fast way to do it.so that I have my form data and also a variable that will submit the id along with my form data.

1

DB is safer and more reliable. Autoincrement is easy with that.

Edited by diafol: n/a

0

Yes I know database is a lot safer but the down side to it i have to create the database create function to generate the number write it to database and again fetch it to email with my form data?

If you have a better way or simpler using DB please let me know.thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.