View Full Version : search engine for 1 page only help plz
Icehawk
September 5th, 2005, 03:05 PM
hi i need some help
does ne 1 know what code or a tutorial for search engines?
i just need a little input feild with a go button
that seaches the current page for the word they input not the whole site :)
just the page its a very long page thats why this is needed :)
Ankou
September 5th, 2005, 11:02 PM
Is the page you're searching dynamically created? If so then you can just search the database and/or file that you're using to create the page.
If it's something like a plain HTML file then all you need to do is open the file, read and search it - with the exception of searching the HTML tags. That's not too difficult to do.
Let us know which type of page you're trying to search and it'll be easier to help with the code.
morse
September 6th, 2005, 08:04 AM
Control + F
Icehawk
September 7th, 2005, 09:20 AM
i know control +f thats the browser search i want a search build into the page so it searches down the html page not throught a database just throught 1 page kind of like control + f but like a google search engine just for the one page so once you type a word like ball it goes to the first word ball on the page
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.