Hi all,
This is my first post here and I need help... Isn't that why we all joined in the first place though?
I would like to store a number that I will increment by a press on an "ORDER" button. I don't have CGI or anything, so it needs to just be a simple form, that emails the information that the user captured... along with this "order number". This obviously has to increment with each valid order received... Or rather, each press on the "ORDER" button. But I have no idea how to store this incremented number. Maybe in a TXT file in the same directory as the actual HTML files?
I know there are potential problems when two seperate people click "ORDER" at the same time, but I'm willing to take the risk.
I would like each email submission to get it's own "order number" and I would like to display a "Your order number is... XXXXXX" after I've emailed the form details away.
I hope someone can help with this... and maybe supply me some example code as well.
Thanks!
Hobbes
This is my first post here and I need help... Isn't that why we all joined in the first place though?
I would like to store a number that I will increment by a press on an "ORDER" button. I don't have CGI or anything, so it needs to just be a simple form, that emails the information that the user captured... along with this "order number". This obviously has to increment with each valid order received... Or rather, each press on the "ORDER" button. But I have no idea how to store this incremented number. Maybe in a TXT file in the same directory as the actual HTML files?
I know there are potential problems when two seperate people click "ORDER" at the same time, but I'm willing to take the risk.
I would like each email submission to get it's own "order number" and I would like to display a "Your order number is... XXXXXX" after I've emailed the form details away.
I hope someone can help with this... and maybe supply me some example code as well.
Thanks!
Hobbes