title: Deprecated: mysql_pconnect()
body: <p>Keep getting this line now when i run my sql query:</p>
  
  <blockquote>
    <p>Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\Users\Murray\Desktop\YouthCafeWork\BookingSystem\bookingrequest.php on line 43</p>
  </blockquote>
  
  <p>I have tried to change it so that it is using the new syntax but i can not get it to work.</p>
  
  <p>Line 43 (the error line is) is :</p>
  
  <pre><code>$db = mysql_pconnect('localhost', 'root', '');
  </code></pre>
  
  <p>Thanks for any help in advance :)</p>