title: Search particular restaurant according to food
body: <p>I have a search input where users are supposed to searchso as to return results</p>
  
  <pre><code>&lt;div class="field" id="searchform"&gt;
  
          &lt;input type="text" id="searchterm" placeholder="e.g mutton 
  
          karahi,pizza..."  /&gt;
  
          &lt;button type="button" id="search" 
  
          onclick="window.location='http://localhost:8000/search'"&gt;Find Food!&lt;/button&gt;
  
          &lt;/div&gt;
  </code></pre>
  
  <p>The food items are in a table called foods which has the following fields</p>
  
  <pre><code>$table-&gt;bigIncrements('id');
              $table-&gt;timestamps();
              $table-&gt;integer('price');
              $table-&gt;string('food_item')
              $table-&gt;integer('restaurant_id');
          });
  </code></pre>
  
  <p>The is a different table for restaurants where the foods table gets restaurant_id</p>
  
  <p>How can go about this</p>