I have a list of classes and their instructors that are attached to radio buttons. The class info is all stored in a database with the class instructor's name being brought to the html as <?=$first_name47?> <?=$last_name47?>.
Ex: () Class #1 - Joe Smith
If the class is full, I already have the routine disabling the radio button for that class. What I would like to do is add a "Class is Closed" notification, and I thought that I could modify the instructor's name in the same function that I disable the radio buttons.
Ex: () Class #1 - Class is Closed
Tell you what, rather than looking like a noob and posting the whole page for everyone to scroll through, you can view the code here:
http://www.wmaw2005.com/2005/registration/reg.txt
I hope this helps you.
I know LOTS of the code could be condensed and all, but I figure I can do that later once it all works. Laying everything out as simply as I can makes it easier to modify and get an idea of changes that occur without completely modifying the results of everything.
Thanks.
-Dave in IL
|