Spaces in Search Query

Results 1 to 2 of 2

Thread: Spaces in Search Query

  1. #1
    Martin Guest

    Default Spaces in Search Query

    Hi,<BR><BR>I have some problems with my search engine script. It fully works, but it as something that I would like to arrange. When I type, for example: "cnet" as search query, it will search correctly. But if I type "cnet " (cnet + a space) Then it brings all the datas of the database. What can I do ? Thank you for your time.

  2. #2
    Join Date
    Dec 1969

    Default trim()

    by trimming it removes any " " spaces<BR>&#060;%<BR>dim search<BR>search=request.querystring("seacrh")<BR> %&#062;<BR><BR>&#060;%= trim("search")%&#062;

Posting Permissions

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