Create search function.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ccweng
Forum Newbie
Posts: 1
Joined: Fri Jun 01, 2007 1:58 am

Create search function.

Post by ccweng »

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.
djot
Forum Contributor
Posts: 313
Joined: Wed Jan 14, 2004 10:21 am
Location: planet earth
Contact:

Post by djot »

provide your code trials ... or throw money.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

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.
Post Reply