Jump to content

Recommended Posts

Posted

In an atempt to learn php I have been playing around with a little project to try and get me started.

My first atempt is a lottery number lucky dip generator which you can see at http://the1.webuda.com/lotto/lotto.php

I then decided to try and make the same generator for the euro millions lottery which you can see at http://the1.webuda.com/lotto/euro.php

To maximise the chances of winning it is obviously important to make sure that you have all the numbers that pop out of the machine on the night so to do that Ive got a generator which would be ideal for a syndicate which you can see at http://the1.webuda.com/lotto/syndicate.php

This will give you all the numbers but getting them all on the same line, well that really is down to luck!!

Just a bit of fun feel free to use it if you wish. Any comments to improve it welcome.

 

Posted

Thanks Al.

I had never written any php before, Seen loads of it on here but felt a bit bad because I didn't understand any of it. So I bought a book! The first two were relatively easy but the syndicate one made me think. I aways remember someone asking once how to order days of the week. To which the reply was give them a number and order the numbers e.g. 1 - Monday, 2 - Tuesday so it's was basically sitting thinking how to structure the code to get it to do what I wanted.

Probably really easy when you know what you're doing but it was a challenge for me. Still don't understand server side MySQL stuff so maybe time to buy another book.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...