Re: [mel] How to Search for specific word in text field and disply matching records
Hi Mel,
You can add them with "OR" or "AND". Like this:
'where' => ' areas-covered LIKE "%location2%" OR
areas-covered LIKE "%location7%" OR
areas-covered LIKE "%location9%" ',
You don't need the extra spaces and enters, I just like to line things up. Also, Make sure the last condition doesn't end in OR.
Let me know if that does what you need.
Dave Edis - Senior Developer
interactivetools.com