表格提交到数据库并显示结果 [英] form submited to database and display result
问题描述
大家好
我一直在寻找一种可以将数据提交到数据库并显示结果的表格,我需要一个表格示例,例如选择一个电话和一个型号,然后,如果客户选择一种物品,让我们说出手机的型号或品牌,然后单击提交",它将自动显示数据库费用的结果.有人可以帮我吗?
以下是我一直在寻找的表格的链接:
我只需要任何指导如何做到这一点...
http://www.mrunlock.com/ [ ^ ]
在此页面上,您输入一个表格,并获取显示费用的结果.
任何帮助将不胜感激.
Hi all
i have been looking around for a form that can submit data into the database and display a result , i need an example of a form like , select a phone and a model then , if a customer select a type of item , let''s say a model or brand of a phone , then click on submit , it automatically display a result of how much it cost from the database . can somebody help me ?
below is the link of a form i have been looking for :
i just need any guidance how to make this...
http://www.mrunlock.com/[^]
on this page there is a form that u enter and it fetch the result which display the cost .
any help will be great appreciated .
推荐答案
简单的AJAX-PHP组合可以做到这一点.
您可以在 http://www.w3schools.com/ajax/ajax_database.asp 中找到一个很好的示例[ ^ ]
A simple AJAX-PHP combinatation can do this.
You can find a very good example at http://www.w3schools.com/ajax/ajax_database.asp[^]
这篇关于表格提交到数据库并显示结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!