|Just another Perl shrine|
Form validation/Search scriptby No-Lifer (Initiate)
|on Oct 24, 2005 at 18:19 UTC||Need Help??|
No-Lifer has asked for the
wisdom of the Perl Monks concerning the following question:
Yes, my search script is giving my gyp again - It's actually because I don't know enough of what can and can't be done. I'm usually ok, given a bit of a help to get started - I think a push in the right direction is required!
My search script is a little too "rigid". If I search for "regular expression", it searches the documents on my site for the EXACT string, "regular expression" (both the words appearing on the page next to each other).
I wish to make it more flexible - allowing it to find, say, instances of "regular" AND "expression", not necessarily beside each other on the page.
My form code is pretty much standard -
How would I go about creating an "AND" sort of search? I'm assuming it's something to do with what I've got above.
Many thanks (again)!