random_num()
How to get random num of this chars?
random_num(0, 3, 5) - I know that is bad , how to get random num of 0,1,2,3,5? Without including 4? |
Re: random_num()
PHP Code:
|
Re: random_num()
Loop random_num() and check if 4, you do random_num() again.
|
Re: random_num()
okey guys thanks for reply :]
|
Re: random_num()
Quote:
PHP Code:
|
Re: random_num()
It would look like it will do random while its not 4 :mrgreen:
PHP Code:
|
| All times are GMT -4. The time now is 15:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.