Links for php scripts
2 posts • Page 1 of 1
Anyone know of a script or an easy way to create like an easter egg hunt around my site? Say like click on 5 eggs and win a prize type of deal?
The easiest way would be just to hard code them on each page, if you really want to make a fun project out of it and do it right though, i would create a table in your database (assuming you have only logged in users able to play) to track the count found for each user. You could then put a little function in each of your header pages to randomly pick a number based on the number of eligible pages, and the number already found, etc. if the number comes up and they haven't found the full count, let them know by giving them a link to click on to register their find. You can get as detailed as you want with it, could actually be kind of a fun project
Who is online
Users browsing this forum: No registered users and 1 guest