title: Laravel query builder doesn't bind values
body: <p>I am using laravel query builder like this.</p>
  
  <pre><code>$col1 = Input::get('col1','');
  $col2 = Input::get('col2','');
  $result = DB::table('table1')
          -&gt;select('id', 'col1', 'col2', 'col3')
          -&gt;whereRaw("col1 like '%?%'", [$col1])
          -&gt;whereRaw("col2 like '%?%'", [$col2])
          -&gt;orderBy($orderBy, $orderType) //orderBy=col1, ordeyType=ASC
          -&gt;skip($ofset)-&gt;take($limit) //$ofser=0, $limit=10
          -&gt;get(); 
  </code></pre>
  
  <p>I am getting nothing. If I use toSql() function. I am getting this SQL like this</p>
  
  <pre><code>select `id`, `col1`, `col2`, `col3` 
  from `table1` where col1 like '%?%' and col2 like '%?%' 
  order by `col1` ASC limit 10 offset 0
  </code></pre>
  
  <p>The question marks shouldn't be there. It must replace them with the values. I used this code to debug it.</p>
  
  <pre><code>Log::info(var_export(DB::getQueryLog(), true));
  </code></pre>
  
  <p>The Logs look like this</p>
  
  <pre><code> 2 =&gt; 
   array (
  'query' =&gt; 'select `id`, `col1`, `col2`, `col3` from `table1` where col1 like \'%?%\' and col2 like \'%?%\' order by `col1` ASC limit 10 offset 0',
  'bindings' =&gt; 
      array (
        0 =&gt; 'k',
        1 =&gt; '',
     ),
  'time' =&gt; 25.71,
  </code></pre>
  
  <p>I think bindings doesn't work pr I'm doing something wrong. Because If I try this code in database It works. (In Addition, I want to get the actual sql that send to the database. How do I do that?)</p>
  
  <pre><code>select `id`, `col1`, `col2`, `col3` from `table1` 
  where col1 like '%k%' and col2 like '%%' 
  order by `col1` ASC limit 10 offset 0
  </code></pre>