|
Posted by Colin Fine on 10/13/05 22:53
Nicholas Sherlock wrote:
> VAL wrote:
>
>> How can I make an application form that generates a unique number
>> starting from 1001.?
>
>
> Your subject line says "Random number", and you are asking for a "Unique
> number". Which is it? A random number, or a number which is unique, or
> both?
>
> Cheers,
> Nicholas Sherlock
I interpreted this (despite the subject, which I didn't notice) as 'how
can I arrange that every time this page is run it will generate a
different number?'
If that is indeed the question, then you need to save the latest number
(or all of them, if they are indeed to be random rather than sequential)
locally on the server - either in a file or in a database.
Colin
Navigation:
[Reply to this message]
|