title: Percent Sign Inside PHP Variable
body: <p>I tried to make this condition :</p>
  
  <pre><code>if ($Search[1] == '') {
      $Where = 'WHERE User.FirstName LIKE '%$Search[0]%' OR User.LastName LIKE '%$Search[0]%';
  }else {
      $Where = 'WHERE User.FirstName LIKE '%$Search[0]%' OR User.LastName LIKE '%$Search[1]%';
  }
  </code></pre>
  
  <p>but putting '%$Search[0]%' inside PHP variables cause no result. what is the right way to put percentage sign inside PHP variables?</p>
  
  <p>thanks.</p>