title: how to use LIKE in php
body: <p>i'm trying to use like in mysql from php and i write this code </p>
  
  <pre><code>$query = mysqli_query($connection, "SELECT * FROM items order by create_at desc where content LIKE '" . $content . "%'")
    or die(mysqli_error($connection));
  </code></pre>
  
  <p>but it says there is an error in my syntax it says like this </p>
  
  <blockquote>
    <p>You have an error in your SQL syntax; check the manual that
    corresponds to your MariaDB server version for the right syntax to use
    near 'where content LIKE 'c%'' at line 1</p>
  </blockquote>