I have dates in my script related to some teaching lessons. Each lesson has a maximum number of students. When a lesson reached this amount, all the other users will be not able to register to that lesson. I did it in a PHP format with MySQL using HTML-SELECT and Javascript, but I need a way to show a Calendar with the available dates. I've tried to use the jQuery, but I couldn't control the accessible dates on the calendar.
Can you suggest what I need to do?