You are here: Re: random number « PHP Programming Language « IT news, forums, messages
Re: random number

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация