Week timetable: PHP in_array or jQuery plugin

馋奶兔 提交于 2019-12-04 15:46:29

From your post you've already decided what solution you'll use. Given this, I would only create one table with a column (status) that would be different for "Not available" and "Occupied".

I would use only one table because you might need another status in a few days / weeks / months. You can always have more than one array with values from the same table.

I don't think you have to consider performance with that ammount of rows (or timeslots). I say: go with it and adjust as your application grows up.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!