keyword search syntax
| From: | Robb Kerr | Date: | Tue, 28 Oct 2003 02:00:24 +0000 |
| Subject: | keyword search syntax | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167822@lists.php.net to get a copy of this message | ||
I've got a field in my database that contains keywords about the particular
record. I've got a form with a text entry field for visitors to enter
keywords for which they would like to find records whose keyword field
contains the words they entered. The submission form assigns the keywords
entered to a variable which is passed via GET to the results page. What is
the syntax for generating this query. I tried the following but it doesn't
work...
WHERE field CONTAINS $variableContainingKeywordEntry
Can anyone help? Thanx in advance,
Robb Kerr
---------
Digital IGUANA
Helping Digital Artists Achieve their Dreams
http://www.digitaliguana.com
http://www.cancerreallysucks.org