title: PHP LIKE is not working
body: <p>I have got this PHP code</p>
  
  <pre><code>$search=$_GET['Searchusername'];
  $searchuser="SELECT fullname,lastname,userName FROM users WHERE userName LIKE '%{$search}%' 
  OR fullname LIKE '%{$search}%' OR LIKE '%{$search}%'";
  
  $query = mysqli_query($link, $searchuser);
  $numrows = mysqli_num_rows($query);
  $row = mysqli_fetch_row($query);
  </code></pre>
  
  <p>But it gives me 2 errors </p>
  
  <pre><code>mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in 
  </code></pre>
  
  <p>And </p>
  
  <pre><code>mysqli_fetch_row() expects parameter 1 to be mysqli_result, boolean given in
  </code></pre>
  
  <p>And i want it to work with LIKE operator. </p>