The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Random Number, if duplicate?
Code:
<?php srand ((double) microtime( )*1000000); $random_number = rand( ); echo "$random_number"; ?> I can tell MySQL to keep it unique, but I don't want an error page. I want to keep errors to a minimum. Thank you for the help. I was thinking of a loop to check if it exists until it finds a unique number and end the loop before it spits out the page with the code in a hidden field. I just don't know what codes to use. >_< |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|