Generating unique numbers using php


Posted on 16th Feb 2014 07:03 pm by admin

Hi,
I need help in generating unique number using php.I tired using rand() in php.But, by using rand() method,the generated values are repeating.I want unique numbers in my application.
Every time in loop,i need a unique number.
If anybody knows of generating unique numbers,pls reply AEAP.


Thank u inadvance

No comments posted yet

Your Answer:

Login to answer
315 Like 38 Dislike
Previous forums Next forums
Other forums

Database connection failure
Hello All,

I am trying to create new connection to Oracle DB 10.1,
I could not see a

Sendmail.php - heading error following check_input
Hi,

I would greatly appreciate some help? I am brand new to PHP and have been searching and e

INSERT data problem!
After having an string with apostrophes ', double quotes " or any other special characters, suc

Am I setting up my sites oldschool?
Ok,

When I create a site I open a basic template that I have created that consists of a css f

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

PHP hyperlinks generator - HELP plz
Hi

I need some help to get this done using php:


1 - I have few hyperlinks say 500

weird problem
last time, i did post a topic concerning why my page sometime will load as blank page when using IE.

Passing Variables
What I'm wanting to do is when the user clicks on Arenas it will know the name of the country it's w

Querying info from one table based on info in another
Hi, I am currently trying to make a part for my user driven website where one user can subscribe to

help with calculations on a flat text file
hello,
I have this code below that is attached to a flat file like this:
Email:LastName:FirstN

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash