I have a simple application set up so that users can register for certain events through our website. The registration information is added to an Access database and a confirmation e-mail is sent to the reigstrant and the person in charge of the event.
The problem is, I need to limit the number of people who attend the event. I need a code that says, "Once you get to 20 (or whatever number), send the "sorry we're full" e-mail instead of the "Your registration has been confirmed" e-mail." However, I still need the people who are overflow to be put into the DB so we can contact them for the next event.
Any help would be sincerely appreciated.
The problem is, I need to limit the number of people who attend the event. I need a code that says, "Once you get to 20 (or whatever number), send the "sorry we're full" e-mail instead of the "Your registration has been confirmed" e-mail." However, I still need the people who are overflow to be put into the DB so we can contact them for the next event.
Any help would be sincerely appreciated.