“搜索功能"在php/javascript中使用表单和提交按钮 [英] "search feature" using a form and submit button in php/javascript

查看:100
本文介绍了“搜索功能"在php/javascript中使用表单和提交按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用php或javascript创建搜索引擎.我不想连接数据库..

我已经从xml文件中读取了数据,并将其显示在php网页中带有边框的HTML表中.也进行了分页以显示数据,并且卡住了搜索"功能..

除了连接数据库之外,我该如何搜索数据?我有一个HTML表单并提交了用于执行搜索"操作的按钮..

我将不胜感激..

谢谢..

How to create a search engine in php or javascript. I do not want to connect with the database..

I have read the data from an xml file and displayed it in an HTML table with border in the php webpage.. Pagination is also done for displaying the data and I got stuck with "search" functionality..

Instead of connecting to a database, how can I do searching for a data?? I have an HTML form and submit button for performing "search" operation..

I would appreciate any kind of help on this..

Thank you..

推荐答案

您可以使用JQuery进行XML搜索

使用jQuery读取XML [
You can do XML searching using JQuery

Reading XML with jQuery[^]


这篇关于“搜索功能"在php/javascript中使用表单和提交按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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