title: Why MySQLi prepared statements?
body: <p>What are the advantages of using prepared statements with MySQLi?</p>
  <p>If the only purpose is to secure the query, isn't it better to clean the query using something like <code>mysqli_real_escape_string</code> instead of writing so many lines of code for each query (like prepare, bind_param, execute, close, etc.)?</p>