title: Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO
body: <p>I am new to PHP and I'm trying to connect to my database with the help of some youtube videos but I get this error</p>
  <blockquote>
  <p>Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\wamp\www\db.php on line 7</p>
  </blockquote>