competition form with php/mysql?
Posted on 2002-05-19
I've been asked to run a cd giveaway/competition on my site and would like to have a popup box load on the way into my site with some info about the cd, a graphic of the CD cover and a form with fields for Name and Email Address. Once submitted I'd like the user to be shown and "thankyou for entering" screen and then have a "close this window" link and not be shown the popup next time they visit the site (cookies?). I'd also like to store the names and email addresses in a mysql table.
I can do the html bit but I'm still a bit of a noob on the php/mysql side and was wondering if anyone could suggest what code I would need to achieve this.
thanks in advance :)