title: How to add multiple where clause on Eloquent ORM Laravel?
body: <p>Having a hard time here trying to retrieve specific records where I need the ID and the Date to match, here is my code:</p>
  
  <pre><code>      $testq= DB::table('attendances')-&gt;where('user_id', '=', $userinput &amp;&amp; 'logon', '=', $newdate)-&gt;get();
  </code></pre>