How can I manage the maximum number of participants?
<p>I'm using php and mysql. I created a registration form for some activities of an event. For example, for the activity A, the user must choose the hour: 9h, 11h, 14h... The user choose only one option. (select boxes). This form contains 2 activities, so for each activity and for each hour I have a maximum number of participants to manage.  </p>

<p>I would like to include a maximum number of participants for each option. 9h: 30 participants, etc. So if a user choose for example 9h and the maximum number of participants is already reached, it should display a message to the user when he selects the box 9h.. If this is not the case, the registration should be accepted and the number of attendee incremented. I would like to know how can I do this? Is there a simple way to manage this?</p>
