0

Hi all,
I need to create a timetable in php.

Example: we need to create timetable for two classes as LKG-A and LKG-B. There are 5 periods and 5 teachers for both the classes.
Suppose if we choose a teacher for first period in LKG-A that teacher should not be visible for LKG-B at the same time. we should create a
drop down box for each column to see the teachers list. Please help me to do this.

2
Contributors
2
Replies
15
Views
4 Years
Discussion Span
Last Post by broj1
0

You should use javascript (or better jquery) to read which teacher was selected in the first select element and remove of disable that option in the second select element. The javascript (jquery) code could be controlled by php. The data should be pulled ftom the database.

0

You will get better answers if you provide the code and data structures you have so far but in general:

You should use javascript (or better jquery) to read which teacher was selected in the first select element and remove of disable that option in the second select element. The javascript (jquery) code could be controlled by php. The data should be pulled from the database.

Edited by broj1

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.