Posted by Geoff Berrow on 10/13/05 03:08
I noticed that Message-ID: <4Ee3f.11072$6c4.10809@newsfe5-win.ntli.net>
from Oli Filth contained the following:
>> How can I make an application form that generates a unique number starting
>> from 1001.?
>>
>
>Did you even bother to read the PHP manual for random functions, e.g.
>rand()?
Why bother with rand()? Just start at 1001 and increment. Each number
will be unique.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
[Back to original message]
|