Results 1 to 3 of 3

Thread: Menu Probs!

  1. #1
    Join Date
    Dec 2003

    Angry Menu Probs!

    I've made a site that I'm working on the search engine for. Now I've got the search to work by allowing the users to select a category and type in some text into a text box and press search.
    The search engine then searches that particular category for whatever they typed in. I want a menu item that says "All categories" I tried to do this by making its value "%" (without quotes). This doesn't work. Any reasons why? And what should I be doing?

  2. #2
    Join Date
    Nov 2003
    Depends on the underlying query and DBMS used by the search engine (did you roll your own or are you using a prefabbed one?), but my guess is: use LIKE not = as the comparison operator if you want to get everything by using '%'.

  3. #3
    Join Date
    Dec 2003
    You're dead right! I figured it out pretty much just before I received your email! Cheers for responding anyway.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center