does anyone have a basic script page with a searchbox? I don't know how to get the contents of a search to populate a $variable ... what's the syntax?
I want to have a search form and when I click "search" it will populate the variables I have set on the page with that search term - I'm a little fuzzy on how to do that.
for the most part, these are used when the website's content is stored within a database. of course you could keep your pages inside of an array and open a connection to each one and match against the search term but i would advise against it as it could end up being really slow (depending on the amount of pages) and it's just plain retarded. if you want a search option, toss your content into a database.
using freely available search scripts like spider. see: http://best-php-scripts.com/search_scripts.htm
Actually, I am talking about pulling results from my own mysql databases. The results are not other web sites but people search records
visit www.phpclasses.org.in this site u can find many search scripts which pull results from mysql database.
Using a searchbox and a mysql database it's not a hard job to do. You just have to set a standard page for the search results and use a sql query to fetch output from database. Question: what will be searched? many columns? You plan to have a search box with filters? I'll gladly help, if you need simple one, but we really need more info about it Contact me if you want, by pm. Regards, Victor