How do I automatically increnment a number each time a form is submitted?

  • Thread starter Thread starter sheetrum
  • Start date Start date
S

sheetrum

I would like to have a unique number added to a form (automatically) that a
visitor would fill out. Ideally, that number would increment by 1 each time
the form is submitted by a user.

i.e.:
45
46
47
48
49
50

If this needs to be a script on the server side, would/could that be a cgi
script? My server supports cgi scripts, but I know very little about them.
Where would I learn more about this type of script, or is one available to
use somewhere.

I have found an email validation script that I put into use. The disclaimer
that is included with that script forbids making any changes to it, so I
haven't.
 
Hi Sheetrum,

You'll have to do it at the server with a program that controls the number sycronously.
 
Depends on what server-side script and database is supported by your web host, then you can do a
search based on that.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Back
Top