PHP日期预订和审查方法 [英] PHP Date Booking and Review methods

查看:122
本文介绍了PHP日期预订和审查方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要一些头脑风暴。



我们正在建立一个预订系统,允许用户在当天预订一个半小时的时间段。然而,有些日子根据每周的时间表不可用,而其他时间可能在某些时间不可用。



什么是最好的方式去做这样的事情。在数据库中应该有一些信息,说明一天中的某一天是不可用的,但我不知道最好的方法是什么。



任何想法?



奇妙

解决方案

似乎这个线程应该适合您的要求,或至少指出您的方向正确。



PHP使用Mysql检查的房间预约日历



如果您不热衷于使用MySQL,我确信可以调整这些概念。

A bit of brainstorming is required.

We are building a booking system that allows users to book a date and a half an hour time slot on that day. Some days however based on a weekly timetable will not be available and others may be unavailable at certain time.

What would be the best way to go about something like this. There should be some information in the database saying what day of the week certain times are not available but I am not sure what the best way of going about this is.

Any ideas?

Marvellous

解决方案

Seems as though this thread should suit your requirements, or at the very least, point you in the right direction.

PHP calendar for Room booking with Mysql checking

If you aren't keen on using MySQL, I'm sure the concepts can be adapted.

这篇关于PHP日期预订和审查方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆