| View previous topic :: View next topic |
| Author |
Message |
waddle_penguin
Joined: 10 Mar 2007 Posts: 2
|
Posted: Sat Mar 10, 2007 7:18 pm Post subject: Random Number |
|
|
I want to start a raffle sort of idea on my website. To do this could anyone please help me with the coding for random numbers, that change each week. I would want the coding to pick a number at total random, each week by itself (so i could just set it up and let it run), and not change before. Is it posible? If yes how?
Thanks
Mike |
|
| Back to top |
|
 |
|
|
flabbyrabbit 500+ Club

Joined: 25 Jan 2007 Posts: 623 Location: Midlands, England
|
Posted: Sun Mar 11, 2007 10:57 am Post subject: Re: Random Number |
|
|
yeah it would be possible, you would have to set up a date checker which calculates if a week has passed. Then if it has it would generate a random number. So you just want a number that changes every week bt stays the same through out the week?
flabby rabbit |
|
| Back to top |
|
 |
waddle_penguin
Joined: 10 Mar 2007 Posts: 2
|
Posted: Sun Mar 11, 2007 9:44 pm Post subject: Re: Random Number |
|
|
Yes, that would be great if that is posible.
Thaks for that, i'll try and set it up.
Mike |
|
| Back to top |
|
 |
|