title: Why shouldn't I use mysql_* functions in PHP?
body: <p>What are the technical reasons for why one shouldn't use <code>mysql_*</code> functions? (e.g. <code>mysql_query()</code>, <code>mysql_connect()</code> or <code>mysql_real_escape_string()</code>)?</p>
  
  <p>Why should I use something else even if they work on my site?</p>
  
  <p>If they don't work on my site, why do I get errors like </p>
  
  <blockquote>
    <p>Warning: mysql_connect(): No such file or directory</p>
  </blockquote>