Site search by category

Hi all

I came across 2 Web site that allows the user to search the site by choosing a category or manufacturer, and it brings up the results. Here is the link to the site 2 which do the same thing.

Welcome to Tonestack - Pro Audio - electronics - Musical Instruments - music accessories

http://www.demodeals.com/Collections/Home-speakers

How is this possible in Dreamweaver CC using the framework "bootstrap"?  I really want to do, is if someone visits my site and they want to see woman handbags, so ONLY products will appear. Is there a tutorial out there?

Thanks in advance for your help.

iangoulbourne wrote:

Hi all

I came across 2 Web site that allows the user to search the site by choosing a category or manufacturer, and it brings up the results. Here is the link to the site 2 which do the same thing.

Welcome to Tonestack - Pro Audio - electronics - Musical Instruments - music accessories

http://www.demodeals.com/Collections/Home-speakers

How is this possible in Dreamweaver CC using the framework "bootstrap"? I really want to do, is if someone visits my site and they want to see woman handbags, so ONLY products will appear. Is there a tutorial out there?

Thanks in advance for your help.

It's nothing to do with Bootstrap.

What you have to do, is create a "category" and "type" column in your database table.

Then query the database based on the information provided by the user.

Then you could have a link with variables as below which transmits information in the URL to your page of product_list.php:

Women

Hand Bags

Shoes

and in the product_list.php page, you get the bind variables using php:

$category = $_GET ['category'];

$gender = $_GET ["gender"];

Then, you query the database in that based on these variables:

SELECT * FROM product category WHERE the = "$category" AND sex = "$gender."

Store the information in a table and echo then the contents of the table on the page.

It helps if you know some php and mysql?

Tags: Dreamweaver

Similar Questions

  • Google site search keeps all loading on all sites that use it. However, the same sites load with IE.

    Google site search just keep loading forever on all sites that use it. But IE works fine on the same sites.

    I'm using FF 11, but it has also been a problem in previous versions. Win7/64 with the latest updates on a computer laptop xps Dell 15z. CORE I5

    Hello

    Please check if this happens in a new profile. If it's good, you can later copy the necessary personal data of the old profile. Firefox stores your personal data and settings to another separate location of the files/folder. A new profile would default Firefox settings (Tools (Alt + T) > Options, and topic: config ) and usually also would be vacuum of Extensions and themes (appearance) in tools > Add-ons) and their parameters. In addition, a new profile would have no previous website stored data/settings etc, (Tools > clear recent history).

    Profiles Howto

    Files & profile folder

    Subject: config entries

  • my yahoo home page search bar returns a screen space - as if I go on a site search (bing) there also, white screen returns

    all searches return white screen. show address bar it goes on the search site (search.avg.com/***) and does nothing.

    solved. Webroot sure anywhere is our program of viruses and malware. It offers a framework to analyze the results of the search engines. When this option is turned off, everything works fine. Thanks for the suggestions.

  • Simple Site search

    Someone at - he found how to add a site search to your website using Google, Yahoo or Bing.  The options out there using the html coding are not format correctly when adding an inserted object.

    Just in case you do not go with the Google one, will allow this widget allows you to customize significantly more than the widget above and it is more than half the cost: AddSearch Adobe Muse search engine Widget

  • How can I add a Site Search box?

    I just upgraded my subscription webMarketing BC and I'm wanting to add a search box in the site to my site but I am having trouble with the indications found on the Adobe website: Catalyst Business help | Add a site search box.

    My first question is just a point clarification #4 under ""create a page to display the search results " "

    4. in the editor, enter {module_searchresults} where you want the results appear on the page.  What exactly is the editor? LOL is that just the page Adobe Muse and I use the text tool and create a box with "{module_searchresults}" inside? "


    My next, more critical question is:

    Add a search box to a model

    1. Open the template in edit mode by selecting Site Manager > models Page and choose the model from the list of models. My Admin of the "Site Manager" a BC page on the left - but when I click it - it shows that "Web Forms" and "E-mail system" I have no option for "Page Templates".

    So, how 'Models of Page' will appear.  I'm sure that my 'webMarketing' subscription allows for a site search box... maybe I'm wrong.

    Thanks for any help!


    The Publisher is the WYSIWYG editor in the admin of BC himself.

    The important thing to know is Muse: British Colombia isn't, this isn't the only thing you use to make a site of BC, far from it. It's a really basic tool to build basic websites. The instructions that you will find on the BC docs will never reference how to do for Muse, just BC, or you can use your own code editor.

    So you need to connect to your site administrator and then you will find the pages, models etc.

  • Add "Site Search" Google Analytics

    Part of the powerful reports Google Analytics includes key words which were consulted on a Web site.

    This is a snippet of code that they include in their support page:

    When users search your site, their queries are usually included in the URL. For example, if you use Google to search on the phrase mountain view, you see q =(the Google query parameters), followed by your query:

    http://www.Google.com?hl=en & q = Mountain + View ...

    If your site uses categories, the same principle applies. You can also contact your webmaster to determine the setting of application for your site.

    However, on the BC sites that include the results of the research there are not such a URL parameter or research.

    On the site, I'm looking to add search measure on is:

    http://o2lpm.com/default.aspx?SiteSearchID=-1 & ID = / website/Search

    Does anyone know the setting correct search at the entrance in order for Google follow the keywords searched on your site correctly?

    Perhaps a little late in the day now, but I was watching it today and managed to find what I consider an elegant solution.

    According to the analytical Google Help Center:

    Post-base set up Site search for search engines

    If you use a search engine post-base, your search result URL would look like:

    http://www.yoursite.com/search_results.php

    You have two options to use the Site search to search post-basé engine:

    Option 1: Configure your web application to add the keywords of query at the end of the URL (for example, http://www.yoursite.com/search_results.php?q=keyword) and then implement Site search as described in the previous section.

    ====

    Thus, by adding some javascript to the search form you can simple add the search term in the URL of the results page.  Like this:

    onsubmit = "processSearch (this) ' action =" / Default.aspx? SiteSearchID = 2846 & PageID = {module_oid}& keywords =' > '.

    {module_searchresults}

    .... Now, when the results are displayed, you will see the URL, default.aspx? 2846 = SiteSearchID & PageID = 9219352& keywords = London.  So you can now set this within Google Analytics

  • My Site search

    Hi guys, I'm a n00bie full DW CS4 and need help please.

    I have built a website with DW CS4 not from scratch but from a model, so my problem is that I want to search my site funtion, now with the model, he has already done the search bar, but no code except the below code and a supposed that does nothing!

    [code]

    Code.jpg

    end of [code]

    So without using Google and searching for options of my site, I would like to use javascript or html, if that's possible.

    If PHP is the way while I am limited in PHP and it my beyond me to do.

    Thank you in advance.

    Lee

    In order for a search for "anything" form field, the content of your site should be indexed and stored in a searchable database sort.  If you do not build a dynamic site with programming & databases server side, you will need to use a product service or 3rd party software.  HTML alone cannot do that.

    FreeFind

    http://www.FreeFind.com/

    Wrensoft zoom (software)

    http://www.WrenSoft.com/zoom/

    Google Site Search

    http://www.Google.com/enterprise/search/products_gss.html

    Nancy O.

  • Added Site search in the Menu bar

    Hi guys, if someone could point me to a tutorial on how to add a search feature on the site to the bar menu (see photo) - it would be great...

    Google Chrome.png

    I understand that I may use a tag to display the results.

    Thanks in advance!

    See you soon

    Okay here's what 'do '...

    • First create a div in your menu bar to old search engine and your CSS float right.
    • Create the search...
      • Site--> Site Search Manager
      • Follow the instructions to create the search form, and then select what you specifically want to search for.
      • Agreement creating the research takes place
    • Now, I create a door content (optional - but I do like this in case I want to easily add research elsewhere)
    • Open the new holder of the content in the admin (or dreamweaver)
      • Click Add modules to the button on the page
      • Select the search for the new iin the admin panel or the Commission of British Colombia in DW
      • Select the search form
      • Select the search form to use
      • Click Insert
    • This method also adds the tag search results as well. Simply remove the tag of serach results
    • Now insert the holder of this content in the div that you created in the navigation bar.
    • Fact.

  • Site search using several database tables

    I am able to search my site for certain keywords using a single database table for example I can search for the butterflies using butterflies search table list. However I would like to have a global search for all types of wild animals on my ex of site from visitors to the homepage can search all species with the word Green in the name. If the search function needs to look at a range of tables, for example floralist; fungilist etc. I have problems with the sort code - I'm a bio-scientist a programmer so any suggestions would be appreciated.

    Here is my code for the search using a single table:

      <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      }
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    }
    $colname_search11 = "-1";
    if (isset($_POST['species'])) {
      $colname_search11 = $_POST['species'];
    }
    mysql_select_db($database_cjwebsite, $cjwebsite);
    $query_search11 = sprintf("SELECT * FROM `moths searchl ist` WHERE species LIKE %s", GetSQLValueString("%" . $colname_search11 . "%", "text"));
    $search11 = mysql_query($query_search11, $cjwebsite) or die(mysql_error());
    $row_search11 = mysql_fetch_assoc($search11);
    $totalRows_search11 = mysql_num_rows($search11);
    ?>
    


    followed by:

    <div class="results">
          <?php do { ?>
            <ul>
              <li><a href="Insects/Moths/species.php?id=<?php echo $row_search11['id']; ?>"><?php echo $row_search11['species']; ?></a></li>
            </ul>
            <?php } while ($row_search11 = mysql_fetch_assoc($search11)); ?>
          </ul>
    


    My address is www.hebridensis.co.uk

    Thank you

    Christine

    Hi Chris,

    If the fields are basically the same for all the tables, seems, it would be better to merge them into a single table of "wildlife" and add a field "category", in this way you only ever have to query this table even if several categories are added, each record would have a unique id, and you could open up opportunities to do research with no dependents drop-down menus (i.e. a drop down menu allows the user to select) a category and then will fill up with the category-based species).

    It wouldn't be too hard to create the new table, but I wonder how many other elements of your site could be affected by the change.

    Hope this helps,

    Greg

  • Add the site search feature

    I have a database of names and addresses. I have a page set up to display the results, but I want to have is a show of page before the view by drop-down list 2 page boxes, one for the State and one for the category (each with a finite input amount). The user can choose, for example, Utah to the State, and sales for the category, and then continue hit.
    The view page would then show only the results of the status column that had Utah and sales in the category column. In addition, if the user does not choose a search term in one of the boxes, he would get all the results. For example, if they ignored the status box, they would receive results for 'sale' in all States.

    I have built a few dynamic Web sites, but never needed any research capacity. Any help to get started me would be greatly appreciated.

    Thank you, David. It worked like a charm

  • No way to choose Web sites/search engines while clicking on any suggestions.

    Sorry for the bad English.Suppose I want to complete a long query by clicking on the suggestions below in the search bar, but my default search is set to google search, but I wanted to look in other research/Web site (e.g. youtube). When I click on suggestion it will open Google search for my query but I wanted to search in Youtube in the first place as older versions of firefox. This isn't a big problem, but clicking on result of suggestions in default search, then I choose where I wanted to search(eg-youtube)... Waste a lot of electricity if all people in the world will look twice by request.

    Hi Snakesingh, in this hunt, you will need to select the right one-time-searchengine with the tab key before clicking the search suggestion...

  • Why site search help results instead of only web site results.

    When I search something in the search box of Firefox Help, I have the results all over the web (with sponsored results) not only site-specific responses. I noticed this on several other websites as well. It makes no difference if I just click on the arrow or the search for the button of the site.
    The search engine is perhaps fed by an external server which now has decided to give answers off-site as well as specific answers site?

    The removers spyware has not helped. Then I typed about: config in the toolbar URL and then sought an "intermediary". I have reset the default of all values that containedconduit.com or the led - services.com. Search of each function then returns to normal. Then I also reset all references of "Community Toolbar" that contains "intermediary".

    I hope that someone will stop these people.

  • When I open a new tab, it does not make to the top of my home page. It opens another page of sites search engine.

    When I click on the new button tab, a small cross, opens the new tab, it displays another page in search of sites, not my home page. I can't find the place where to tell him to open my homepage on all new tabs that are open from the tab bar.

    The basic build Firefox always open a blank page when you open a new tab.

    Maybe some Add on that you have changed this feature of Firefox which opens now all tabs in a different page. Here's what you need to do.

    Open Firefox-> go to Menu help-> select "restart with disabled modules.

    Firefox closes, then it will open with Firefox comes from base. The tabs will now open to a blank page. You can enable add-ons again and check if its not working properly.

  • How can I remove malware that redirects to another site search results for example find fast answers?

    Whenever I use the search engines Google or Bing for a topic and receive the results, whenever I try to click on the link in the results, my research turned away on gimme responses or answers or some other search engine site instead of take me to the link I have on that clash.

    How can I remove it?

    I use Microsoft Security Essentials.

    Hi Steve_661,

    Please try to do a scan with the Microsoft Safety Scanner:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    I hope this helps!

  • Looking for option bar widget for site search Web search for a keyword in perticular Web site

    Widget to search option is essential for all the site. Ask each of our clients. But this feature is not available in the Muse that is really sad. We must seek the third party option that looks like very few professional. I ask all developers of Muse that they should consider the issue and implement this feature as soon as possible.

    [Ask the right help forum... Left non-technical Forum Lounge for forum specific program... MOD]

    search options needs rear end code on the host server... even if we assume that you load your site with Adobe's BC you have still questions that Muse is not able to manage.

    You can use Dreamweaver (other html elements: php edit software) to make this code, but each server will be different so a widget works only on the server host, it was made for, but by all means continue to ask Adobe to make magic work and more power to you.

Maybe you are looking for

  • Upgrade memory to the Satellite Pro A120-185 PSAC1E

    The original installed memory of 1 GB in my trusty old A120 is now become a bit of a factor limiting and I want to upgrade to the full 4 GB. I checked this site and it says that the memory runs at 533 MHz. However, looking at various other sites sugg

  • Shortcut on the desktop for AVG disappeared

    Recently, I noticed that the AVG icon had disappeared. I looked up "administrative rights"; but I got nowhere. should I try to use the system restore and go back to a certain date to try to see if that helps? Moved from feedback Original title: deskt

  • BlackBerry smartphones where theaplications went?

    I downloaded Años aplicacionais andar now I can't find it Informação my playbook to use it, can someone tell me queres is? Thank you.

  • RE: Pavilion DV7-7030us

    Hello I recently bought this HP preconfigured. Have a very nice samsung SSD that I intend to use as your startup disk. I noticed that the manual shows the model I bought supports WSSD 32 GB disk cache, simply not included. If I had to use the second

  • Need to model #power cord adapter HP C5180

    Urgent