在线预订(任何想法?) [英] Online Book Reservation (Any Idea?)

查看:81
本文介绍了在线预订(任何想法?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




有人能给我一个关于如何创建预订的想法吗?对于我的在线图书馆网站..


tnx提前^^

Hi,

Could someone give me an idea on how to create a "Reservation" for my Online Library Website..

tnx in advance ^^

推荐答案





有人能给我一个关于如何创建预订的想法吗?对于我的在线图书馆网站..


tnx提前^^
Hi,

Could someone give me an idea on how to create a "Reservation" for my Online Library Website..

tnx in advance ^^





您首先要确定要存储的数据,然后确定需要对此数据执行的操作。当您对数据和相关方法进行整理时,您可以考虑页面布局。


听起来您可能需要阅读一些关于PHP,MySQL的教程,至少然后看看在AJAX,因为它可能是有用的。


我推荐你谷歌PHP Tuotrial和MySQL教程 - W3C的产品让我开始。


然后当你有一个go,只需回复特定的队列。如果你能表现出先帮助自己,人们会更有帮助。


干杯

nathj

Hi,
You shoukld start by deciding what data you want to store, and then what you need to be able to do with this data. When you have the data and associated methods sorted out you can think about the page layout.

It sounds like you may need to read some tutorials on PHP, MySQL at least and then maybe look at AJAX as it may be useful.

I recommedn you Google PHP Tuotrial and MySQL tutorial- the offerings from the W3C got me started.

Then when you have had a go simply post back with specific quetions. People are more helpful if you can show to have helped yourself first.

Cheers
nathj



您好,

您首先要决定要存储哪些数据,然后再根据这些数据进行操作。当您对数据和相关方法进行整理时,您可以考虑页面布局。


听起来您可能需要阅读一些关于PHP,MySQL的教程,至少然后看看在AJAX,因为它可能是有用的。


我推荐你谷歌PHP Tuotrial和MySQL教程 - W3C的产品让我开始。


然后当你有一个go,只需回复特定的队列。如果你能表现出先帮助自己,人们会更有帮助。


干杯

nathj
Hi,
You shoukld start by deciding what data you want to store, and then what you need to be able to do with this data. When you have the data and associated methods sorted out you can think about the page layout.

It sounds like you may need to read some tutorials on PHP, MySQL at least and then maybe look at AJAX as it may be useful.

I recommedn you Google PHP Tuotrial and MySQL tutorial- the offerings from the W3C got me started.

Then when you have had a go simply post back with specific quetions. People are more helpful if you can show to have helped yourself first.

Cheers
nathj



Tnx用于回复,我将使用PHP和MySQL作为我的数据库,但我似乎无法理解书籍的预订是如何完成的..


Tnx for replying, I''ll be using PHP and MySQL for my database but i can''t seem to understand how the reservation of Books done..



Tnx用于回复,我将使用PHP和MySQL作为我的数据库,但我似乎无法理解书籍预订的完成情况..
Tnx for replying, I''ll be using PHP and MySQL for my database but i can''t seem to understand how the reservation of Books done..






假设您拥有此用户帐户并且书籍显示在屏幕上,您可以使书籍的标题可以点击。当点击该标题时,用户被带到一个页面,在那里他们被告知该书已被保留一段时间准备好收集 - 或者如果您要发布它以便他们可以在预定的天数内预期该书。


然后,在这个页面上使用MySQL中的UPDATE命令来更新书中的一些字段,以指示书籍的保留时间,由谁,保留多长时间以及何时保留它将会返回。


当您显示可用书籍列表时,您可以使用此信息来确定标题是否可以点击。如果已经保留了boko,则无法单击它,但您会在其旁边显示一条信息,说明何时可以使用。


或者你可以在一个单独的表格中预订。


有一个基本的概述我将如何解决这个问题。希望这足以让你开始这项任务。


干杯

nathj

Hi,

Well assuming you have user accounts for this and the books are displayed on the screen you could make the title of the book clickable. When clicking this title the user is taken to a page where they are informed that the book has been reserved for a certain period of time ready for their collection - or if you are posting it that they can expect the book in a set number of days.

Then, on this page use and UPDATE command in MySQL to update some fields against the book to indicate when the book was reserved, by whom, how long it will be reserved for and when it would be due back.

When you display the list of available books you can use this information to determine if a title should be clickable. If a boko is already reserved then it cannot be clicked but you display a piece of information next to it saying when it is available from.

Alternatively you could que reservations in a separate table.

There''s a basic overview of how I would tackle this problem. Hopefully it''s a enough to get you started on this task.

Cheers
nathj


这篇关于在线预订(任何想法?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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