Hi,
I'm trying to create a simple PHP form, so that when the user clicks on the "submit" button the form's contents will be emailed to a specified recipient.
However, I'd like the form to include a hidden field called "tracking number" so that when the user clicks Submit, the form's contents are emailed to the recipient along with an automatically generated tracking no, which will increment each time the form is used. Does this make sense???
If anyone can send me some PHP code that will automatically generate the next number in a sequence then please let me know!
Thanks in advance,
James
P.S. I'm not bothered about storing the information in a MySQL databse, I simply want the details to be sent via email.