| Article: |
Building a Simple Search Engine with PHP | |
| Subject: | A more detailed query... | |
| Date: | 2003-12-23 06:52:17 | |
| From: | anonymous2 | |
|
Hi Daniel,
|
||
Showing messages 1 through 2 of 2.
-
A more detailed query...
2003-12-23 22:43:15 anonymous2 [View]
-
RE: A more detailed query...
2003-12-23 07:15:55 dsolin [View]
Hi Giff,
I'm not sure if I got you right here, but couldn't you just use the != or NOT LIKE operators? This would result in something like:
w2.word_word != \"$keyword[1]\"
or:
w2.word_word NOT LIKE \"$keyword[1]\"
Hope that helps!
-Daniel



Thank you for that. However, there is still a minor defect. This is what came up when i pasted your code in. And keep in mind that i have not altered anything stated in the article.
"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/jeo/dev/search/search.php on line 48
query executed in 0.000 seconds."
So does anyone have a suggestion?
Please help!
Thank you all for helping me so far.
Best wishes for the festive season!
Regards,
Sean