Help with lottery style system?


Posted on 16th Feb 2014 07:03 pm by admin

I'm working on a currency system for forums and it is going to have a type of lottery system built into it. Trying to figure out the best way to make the drawings work. I'm still new to cron jobs but will have to figure out how to set them up to draw the numbers every hour.

What I need to do is figure a way to make it draw 3 random numbers, which will be the ticket number. They need to be a number between 1-36 and cannot pick the same number twice.

Did you know?Explore Trending and Topic pages for more stories like this.
Any ideas to what would be the best way to go about doing this?

Thanks!
No comments posted yet

Your Answer:

Login to answer
238 Like 52 Dislike
Previous forums Next forums
Other forums

Page Reload
I am having issues getting a page to reload after I submit data to a database. This form should inp

building a function with multiple outputs
I want to build a function that has multiple outputs.

I know but am not to sure how I should

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

Curl timeout breaks script
So im having difficulties with skipping timeout error in curl
my script calls different functions

MS are the best!!!
Visit http://www.microsoft.com/australia/windows/default.aspx?h=watch-a-demo and click the massive '

Dynamic memory problem
Hey,

At the beginning of my code, I have this line:

Shape* gShape = 0;

Problem with "dynamic" index page
Hi. I have one question. In my index.php page I have this kind of code:
Code: // listaa sivut

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

Consuming MII WebService in Java WebDynpro
Hello,

We are facing a strange situation...

We define a transaction in MII to

CE 7.1 and External GIS integration
Hi All,

We want to develop an application on CE 7.1 which uses GIS features from an exter

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash