dongqiu3254 2016-07-31 03:38
浏览 9

从数据库存储和检索计划完全相同的位置

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 enter image description here

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

  • 写回答

2条回答 默认 最新

  • douguanya4248 2016-07-31 03:58
    关注
    1. Code the PHP to create the HTML to display the schedule as it is in the image above, but without the courses. Hint: you should use a two dimensional array of days and times.
    2. Create a two dimensional array of the schedule, using array keys that match those you created in step 1.
    3. Write the code to put the schedule from step 2 in the display from step 1.
    4. Create your database and a table for the schedule.
    5. Write the code that reads the schedule from the database, discard the code that put the schedule into the display from the array.
    评论

报告相同问题?

悬赏问题

  • ¥15 Python输入字符串转化为列表排序具体见图,严格按照输入
  • ¥20 XP系统在重新启动后进不去桌面,一直黑屏。
  • ¥15 opencv图像处理,需要四个处理结果图
  • ¥15 无线移动边缘计算系统中的系统模型
  • ¥15 深度学习中的画图问题
  • ¥15 java报错:使用mybatis plus查询一个只返回一条数据的sql,却报错返回了1000多条
  • ¥15 Python报错怎么解决
  • ¥15 simulink如何调用DLL文件
  • ¥15 关于用pyqt6的项目开发该怎么把前段后端和业务层分离
  • ¥30 线性代数的问题,我真的忘了线代的知识了