TG wrote:
Is the most important thing to be random or to be unique? If you need
unique, you can use a timestamp including microseconds. Maybe using
something like microtime():
http://us.php.net/manual/en/function.microtime.php
The only other way you're probably going to guarentee that you do
Is the most important thing to be random or to be unique? If you need
unique, you can use a timestamp including microseconds. Maybe using
something like microtime():
http://us.php.net/manual/en/function.microtime.php
The only other way you're probably going to guarentee that you don't repeat
What is the best way to generating random numbers and you are sure that the
script will never generate the generated ones?
I`m using mysql database, but this out of SQL AUTO_INCREMENT stuff, I need a
real random generator that will never generate what has been generated.
On Tue, Apr 15, 2008 at 5:56 PM, Javier Viegas <[EMAIL PROTECTED]> wrote:
> Thanks Daniel i ´ve removed the unexpected else secction. Now it works but
> it tells me that there might be a syntax error on the query, this is good
> news because now i know i´m having connection with the database but