如何为不同的日子选择不同的座位 [英] How can I have different seat selection for different day

查看:99
本文介绍了如何为不同的日子选择不同的座位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个数据库,其中包含2个屏幕表,其中包含根据选择可以是1或0的节目座位。

每件事都工作正常,当我选择一天的票时一个特定的时间座位得到预订和所有。

但是假设我预订2017年6月25日8:30的机票显示座位将被选中。但在那之后,当我搜索相同的节目,但在2017年6月26日或任何其他日期,它不应该显示它已被预订,但它显示它被预订。



如何在不占用太多空间的情况下克服这个问题n很容易导致程序的其余部分运行得很好



我尝试了什么: < br $>


i没有尝试任何原因,因为我对如何实现这一点没有任何线索。我不能继续制作不同日期的不同屏幕表,这是不可行的。

解决方案

这是一个 Cinema数据模型可能您有兴趣:电影预订数据模型 [ ^ ]

这个用于影院 ,但遗漏了关于表格使用的重要评论:剧院预订的数据模型 [ ^ ]

您使用的数据库是什么?

I have a database which contains 2 screen tables which contains seats of show which can be 1 or 0 according to selection.
every thing is working fine, when i choose a ticket for a day at a particular time seats get booked and all.
But suppose i booked a ticket for 25 June 2017 of 8:30 show the seat will get selected . but after that when i search for the same show but on date 26th June 2017 or any other date it should not show that it is booked but it shows it is booked.

how can i overcome this problem without using much space n easily cause rest of the program is running perfectly

What I have tried:

i didn't tried anything cause i don't have any clue about how to achieve this. i just cant go on making different screen table for different days it ain't feasible.

解决方案

Here is a Cinema data model that might be of interest to you: Cinema Bookings Data Model[^]
This one is for theatres, but misses an important comment about table usage: Data Model for Theater Bookings[^]
What database are you using ?


这篇关于如何为不同的日子选择不同的座位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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