标签: php combinations timetable
我想用组合生成时间表
我在mysql中有3个表
1. subjects sub_id, sub_name; 2. staff staff_id, staff_name; 3. sub_staff sub_id, staff_id, sub_count;
每周 sub1 = 6级 sub2 = 4级 sub3 = 4 class
每周课程总数= 42
每日期= 7