I'm trying to create a class schedule here. I know I'm not supposed to ask before trying anything, the problem is I can't think of any logic to do this. As you can see I have a table as below
What I want to do is, I want to store the data in the database, and when I retrieve the data, I want to display it in the exact same location as the picture. Please help me out.
EDIT : I'm a beginner in programming please go easy on me