Help - Search - Members - Calendar
Full Version: need help with site search feature
HTMLHelp Forums > Web Authoring > General Web Design
dxcouch
I have been trying for a few days now to find information on how to encode a search feature into my site.

I'm a sports card trader and I use a website to host "tradelists" or pages listing the cards i have for trade. I found a site of a fellow trade who had a nifty search feature on his site. When i asked him how he did it, he refused to help me. basically i wanna do something similar to my site but i dont know where to begin or what to do. this is something they never taught me in my web design courses in college. can someone please help me.

This is the other guy's site for reference "Chad's Site"
Effovex
You first need to build a database of the cards with fields for the searchable values, generally using something such as MySQL (the database most often made available by web hosts), and then you need a server side program (generally written in Perl or PHP) to fetch the information from the database and display it at the user's request.
dxcouch
Alright I got a site that has mySQL and i thought i was making some kind of progress with it but it seem to all go down the drain.
Darin McGrew
One of these CGI database programs or one of these PHP database programs may meet your needs.
k9ComfortZone
Could go basic and use a google search bar with the option search site.......and it should find any keyword or name within your site...


CODE
<form method="get" action="http://www.google.com/search">
<div style="border:1px solid black;padding:4px;width:100%;height:97px">
<table border="0" cellpadding="0">
<tr><td>
<p align="center">
<input type="text"   name="q" size="25"
maxlength="255" value="" />
<input type="submit" value="Google Search" /></td></tr>
<tr><td align="center" style="font-size:75%">
<input type="checkbox"  name="sitesearch"
value="www.yoursite.com" checked /> Search your site for results<br />


I have one at the bottom of my page www.pawsdogdaycare.com

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.