Associate
- Joined
- 6 Sep 2005
- Posts
- 244
We're setting up a promotion at work that involves sending cards out to customers with codes on them. The customer logs onto the website, registers their details, then enters the code. They then need to be told what, if anything, they have won.
I have made the first form, where they register details, it inserts that into the table, then sends them to the next page where they enter their code. What i dont know how to do is to get it to check the code against the list in database, and output to the page what they have won. I will also need some way of informing us at the office that someone has entered a code, and if they have won (by email maybe?)
tbh i dont know that much about sql/php, and i may well be over my head here, but i need to get it done
Any help would be apreciated as usual
Thanks
Gopher
I have made the first form, where they register details, it inserts that into the table, then sends them to the next page where they enter their code. What i dont know how to do is to get it to check the code against the list in database, and output to the page what they have won. I will also need some way of informing us at the office that someone has entered a code, and if they have won (by email maybe?)
tbh i dont know that much about sql/php, and i may well be over my head here, but i need to get it done

Any help would be apreciated as usual
Thanks
Gopher