I want to make a search function in my php pages. My webpages, are not using any database, only do some read and write from / to text file. My webpages provide information of some items. I wish to add a "search" form for user to search keywords, which it searches through the webpages content, basically inside html body, NOT from database. Anyone know how to do this?
Thanks.
Create search function.
Moderator: General Moderators
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
If they are pages, I'd recommend just using Google. Or, if you really want to do it through PHP, there are a lot of examples.