title: Laravel raw query parameters for IN clause
body: <p>I've using Laravel <code>DB::select()</code> for raw query, facing issue while passing parameters to <code>IN</code> clause.  </p>
  
  <p><strong>1st Query:</strong></p>
  
  <pre><code>$team = DB::table('TeamUserLinks')
               -&gt;orderBy('User_Name', 'asc')
               -&gt;lists('User_Name');
  </code></pre>
  
  <p><strong>2nd Query:</strong></p>
  
  <pre><code>$user_tasks = DB::select("SELECT usr_first_name,usr_last_name,username,
      (SELECT COUNT(*) FROM task_assignee_user t WHERE t.user_id = u.id AND t.task_status = 1) as status_open,
      (SELECT COUNT(*) FROM task_assignee_user t WHERE t.user_id = u.id AND t.task_status = 1 AND t.task_due_date &lt; CURRENT_DATE) as overdue, 
      FROM user u where usr_initials in(" . $team . ")");
  </code></pre>
  
  <p><strong>Also tried:</strong></p>
  
  <pre><code>"FROM user u where usr_initials in(?)",array($team));
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$team = implode($team) //Not working while passing after implode
  </code></pre>
  
  <p>and </p>
  
  <pre><code>usr_initials in('" . $team . "')");//Not working with quotes 
  </code></pre>
  
  <p>2nd query always return empty result.</p>