php 在线预订系统
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2844865/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Online booking system with php
提问by Felicita
Im looking for any tutorial for online booking and reservation using php and mysql. I cant find so much from google.
我正在寻找使用 php 和 mysql 进行在线预订和预订的任何教程。我无法从谷歌找到这么多。
回答by
I would suggest learning more about PHP and MySQL first, and using that knowledge to create your own app. Here are some good resources for beginning PHP and MySQL knowledge.
我建议先学习更多关于 PHP 和 MySQL 的知识,然后使用这些知识来创建自己的应用程序。这里有一些很好的资源,可以帮助您开始了解 PHP 和 MySQL 知识。
回答by why
What about to build your own system or search for an existing booking system and studying this ?
构建您自己的系统或搜索现有的预订系统并研究这个怎么样?
-> http://sourceforge.net/projects/phpreservation/-> http://php.brickhost.com/
-> http://sourceforge.net/projects/phpreservation/-> http://php.brickhost.com/
回答by Michael P
Even though this is an old post, I would like to give my opinion.
尽管这是一个旧帖子,但我还是想发表一下我的意见。
It is possible to build a PHP and MySQL online booking system.
可以构建PHP和MySQL在线预订系统。
The hardest part I think of building one is date programming.
我认为构建一个最难的部分是日期编程。
Best solution is build a flow chart IPO chart, and write notes.
最好的办法是建一个流程图IPO图表,并写笔记。
The way I solve this is by dividing tables in mySQL, one for the actual product, the 2nd for block dates.
我解决这个问题的方法是在 mySQL 中划分表,一个用于实际产品,第二个用于块日期。
The third is for allotments and features.
第三是分配和功能。
There after you would need to create mysql query for three tables and connect the product table with the blocks, and allotments.
之后,您需要为三个表创建 mysql 查询并将产品表与块和分配连接起来。
Once you do that you would have to create a form, and the hardest part is establishing a query, or basically code up the search to get the results you need based upon the three tables you created, make sure that the primary ID for the product table is posted in the other two tables so the primary ID can be identified when the query of the search result post.
一旦你这样做了,你就必须创建一个表单,最困难的部分是建立一个查询,或者基本上编码搜索以获得基于你创建的三个表的结果,确保产品的主 ID表被张贴在另外两个表中,以便在搜索结果张贴的查询时可以识别主ID。
Its like building a simple shopping cart + a bit of logic builds booking system.
这就像构建一个简单的购物车 + 一些逻辑构建预订系统。
Warn you if you develop alone, it takes months. Beleave me. Im up to four months, * 8 hour days. But its working for me. Also, javaScript or should I say jQuery helps on some features of booking engines.
警告你,如果你独自开发,需要几个月的时间。离开我。我最多四个月,* 8 小时天。但它对我有用。此外,javaScript 或者我应该说 jQuery 有助于预订引擎的某些功能。

