Electronic timetable of the educational institution

Who knows how to distribute the schedule by day?


Answer 1, authority 100%

You create a log of the schedule, you specify the day of the week, the number of the lesson in order, the name of the subject, its audience. This is if the schedule is static. Then, to pull the data, you compose a SQLquery for each day separately, insert this case into a two-dimensional array (Predmet[day_of_week][num_of_less]), the values ​​in which there will be objects. The same for the audience, etc. And at the end you output the array to the table.