Women in Technology

Hear us Roar

  Building a Simple Search Engine with PHP
Subject:   multiple keywords
Date:   2003-12-22 01:39:29
From:   anonymous2

thank you for those codes. they worked like a charm.

i was just wondering if there was additional syntax involved whereby i would be able to search more than 1 keyword at a time. For example, a phrase?

I have tried it on this search engine and it comes back with a null result.

Your help would be most welcomed.

Thank you,

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • RE: multiple keywords
    2003-12-22 01:57:16  dsolin [View]

    Hi Sean,

    As pointed out by a previous poster, the easiest way to implement multiple keyword searching would probably be to use MySQL's Full-text Search. Detailed information about this feature can be found at:


    You will need to rewrite the example program used in the article for it to use Full-text Search, but that should be quite simple to do.

    Good luck!