Solved

Raffle website

Posted on 2010-08-12
1
347 Views
Last Modified: 2013-12-13
I am starting to put together a website which is a house raffle site.

Users by tickets at £500 with good odds at winning a house.

I'm struggling to find an 'off the shelf' system that supports this, a kind of shopping cart specific to a lottery/raffle website. Does anyone know of any software that offers this?

It needs the following functions:

•  Users can buy a one-off ticket or buy a tickets over time (5 payments of £500 for example).
•  A kind of stock control so only a certain amount of tickets are bought
•  A function allowing the client to login and check their account.

I'm ok with MySQL and PHP and have considered building this myself, would this be difficult?
0
Comment
Question by:BrighteyesDesign
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
Mark Brady earned 500 total points
ID: 33425494
This would be very basic especially if you knew both PHP and MYSQL.  Making a login system is easy. There are millions of tutorials out there but I'm sure you have read many yourself.

Here are some questions for you before we begin (so I can get a feel of what level you are at)

1: Are you comfortable making a login page ?
2: Can you write MYSQL tables and insert and retrieve data via PHP script ?
3: Can you do some basic graphic (Photoshop) work to create the login page ?

If you can do all 3 of the above then this is how I would attack it.

Create the login page. Create a 'stock' table and populate it with the number of tickets to be sold.
On the purchase page, as the user clicks the button to buy a ticket, have the forms script go to the database and perform the following tasks:

1: Add the ticket and ticket number if you want to have one to the customers purchase table and include things like the date and time the ticket was purchased etc...
2: Reduce the stock amount of tickets by 1

Whatever other functions you deem necessary but I think on the whole this would be a one days effort kind of thing. It really wouldn't be difficult at all. Have a go at it and if you get stuck just ask in here and we will help you.

I ALWAYS start any project off by writing down everything I want the site to do. Every feature I need it to have and the aim of every button click (where is each page going and to do what?).

Once you have your list you can chip away at the project page by page. Always start with the login script as that is the very first thing the user will need to do to get into their account. Give them each a unique identifier when they signup by using a combination of a random number (8 - 10 numbers long) and a few letters of their username.

I would also do things like create a user feedback form so they can send you email, create an admin section so you can login and do certain tasks. You could create the 'Buy Now' buttons in paypal or you can use your own merchant account if you have one but paypal is simple and quick. That's pretty muck all I can offer right now but let me know if you don't follow my line of thinking.

I created a trading site with similar features a couple of years ago so if you want you can go checkout www.junktraders.co.nz

Cheers
Elvin
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn about the eCommerce marketing trends for the year ahead.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question