title: Uncaught mysqli_sql_exception: Unknown column in 'where clause'
body: <p>I have a problem with my php code when i try to choose a string in my database.
  Well, I have a table "news" and a field "category" (TINYTEXT type) there. And I try to display a string from this table by using "where clause":</p>
  
  <pre><code>$Sql = 'SELECT * FROM `news` WHERE `category` = '.$Param['category'].' ORDER BY `id` DESC';
  </code></pre>
  
  <p>I must say that I received "$Param['category']" by using URL Path: <a href="https://i.stack.imgur.com/yflpC.png" rel="nofollow noreferrer">1</a></p>
  
  <p>So, if my "category" value of any string in table has any string type value like "games" <a href="https://i.stack.imgur.com/USsjd.png" rel="nofollow noreferrer">2</a>, <a href="https://i.stack.imgur.com/54qSk.png" rel="nofollow noreferrer">3</a> - string from my table isn't displayed with this error "Fatal error: Uncaught mysqli_sql_exception: Unknown column 'games' in 'where clause'"</p>
  
  <p>But, if I change the "category" value of string in the database into anything numeral value - the string from my table is displayed correctly!<a href="https://i.stack.imgur.com/fHPT3.png" rel="nofollow noreferrer">4</a>, <a href="https://i.stack.imgur.com/m6ONE.png" rel="nofollow noreferrer">5</a></p>
  
  <p>What's wrong with my code? Thank you in advance! Sorry for the mistakes.</p>