且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

预订航班[初学者需要帮助]

更新时间:2023-11-16 18:37:34

从你的问题来看,我假设你是网络开发的新手。如果我理解你的问题我会说



1。如何通过搜索显示故障单列表

根据您的数据库模型,您可以查询可用故障单并将其显示在网页上的列表中,或使用任何可能的方法或API返回一张可用的门票清单。



2。如何预订机票(如何在网页和机票数据库之间建立联系)

用户输入预订机票所需的详细信息后,您将处理数据(可能验证并输入进入数据库并生成一张将显示在网页上的票据。



如果你已经开始做某事,我很乐意帮助你
From your question, i am assuming you are new to web development. If i understand your questions well i will say

1. how to display list of tickets by search
Depending on your database model you can query available tickets and show them in a list on the web page or use any method or api that might be able to return a list of available tickets to you.

2. how to book the ticket (how to relate between web page and tickets databases)
After the user inputs the needed details for booking a ticket, you process the data( maybe validate it and input into the database and generate a ticket which will be display in a webpage)

If you have started something, i would be glad to help you