阅读背景:

PHP显示营业时间

来源:互联网 

I am trying to display a notice when a business is open on a Wordpress-based website and pulling the information from a database. The data is stored simply as opening/closing times for each day, as separate database entries. It is fairly straight forward when the hours are within a single day. But for a bar/restaurant, it becomes complex because the closing time is technically in the next day. I'll use Tuesday as an example.I am trying to display a notice when a business




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: