Raised This Month: $ Target: $400
 0% 

random_num .. not that random


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cv3
Junior Member
Join Date: Sep 2014
Old 12-27-2014 , 13:57   random_num .. not that random
Reply With Quote #1

Okay I pick up few rows from a text file and have to select 1 in random, I used

PHP Code:
random_num(0,TOTALROWS 1
the problem occurs, I have 5 servers selecting from the same file. And they are not supposed to "random" select the same thing. At all this random_num thing is not that random .. how can I randomize it completely ?
Cv3 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode