treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Problems with searching site content

  • Hi Everyone!! I'm just getting into CSS ..HAMMERING the tutorials, it's coming along fine but i've hit abit of a wall.
    I want customers to be able to narrow down a search to what they want to see

    eg. <make of car>
    <price MIN>
    <priceMAX>
    <LOCATION>

    then after all desired fields are selected and you click <<SEARCH>>

    after that you have what your looking for. What is this called..so i know what to search for and learn how to
    apply it to my site....i just dragged this off a website source, is this it? how do i get started??

    any help whould be greatly appreciated..Thanks



    </script>
    <div class=\"row\">
    <div class=\"lcol\">
    <div class=\"col_center\">
    <div class=\"col_bottom\">

    <div class=\"col_top simplesearch\">

    <form name=\"carssimplesearch\" id=\"carssimplesearch\" action=\"/cars/carsSearch/prepareSearch\" method=\"post\">
    <h2>Used cars search</h2>
    <p>Search <strong>79,087</strong> used cars</p>
    <fieldset title=\"Used cars search\">
    <p>

    <span class=\"row_left\">
    <label for=\"makes\" class=\"hide\">Any make</label>
    <select name=\"make\" id=\"make\" size=\"1\" >
    <option value=\"0\">Any make</option>
    <option value=\"3834\" >AC</option>
    <option value=\"3842\" >Aixam</option>
    <option value=\"3844\" >Alfa Romeo</option>
    <option value=\"3845\" >Asia</option>

    <option value=\"3846\" >Aston Martin</option>
    <option value=\"3847\" >Audi</option>
    <option value=\"3848\" >Austin</option>
    <option value=\"3772\" >BMW</option>[/color]
  • The seach query (form fields data) will be processed on the server-side script located at "/cars/carsSearch/prepareSearch"
    You therefore need create a server-side search script or use the google search.