Searching for any keyword in a phrase

2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 11, 2015   (RSS)

By JeffC - November 11, 2015

Please could someone tell me the correct way to search for any keyword contained in a phase.

Using the form below if a user was to search for "Restaurant in London" a result would appear only if one of the fields contained "Restaurant in London". I would like a result to appear if at least one of the words appeared, ie if they search for just "London" 

<form method="POST" action="/restaurants.php">
  <input type="text" name="title,short_description,content,address,town,county_keyword" value="">
  <input type="submit" name="submit" value="Search Reviews">
</form>

Thank you

Jeff