ayz1 Posted February 29, 2016 Posted February 29, 2016 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. Quote
Al Brookbanks Posted February 29, 2016 Posted February 29, 2016 Great work. Can you tell us anything you learned from it or challenges you overcame? Quote
ayz1 Posted February 29, 2016 Author Posted February 29, 2016 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. Quote
Al Brookbanks Posted February 29, 2016 Posted February 29, 2016 Cool well hopefully we will see some things from you in the Marketplace soon! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.