11034NULL2019-01-212019-01-222019-01-232019-01-242019-01-25NULL
11035NULLArabicArabicArabicArabicArabicNULL
11036NULLNULLEnglish1English1English1English1NULL
11037NULLMathNULLEnglish2English2English2NULL
11038NULLNULLNULLNULLMathMathNULL
11039NULLGeographyNULLNULLNULLHistoryNULL
11040NULLPhilosophyPhilosophyNULLNULLNULLNULL
11041NULLNULLPhysicsPhysicsNULLNULLNULL
11042NULLNULLNULLChemistryChemistryNULLNULL
the problem when the loop reach day 7 and the subject count still not completed it does not create a new line
as you see arabic count is 5 but must add new line below with day 1,2,3 is arabic