How to fix fatal error in PHP?
<p>I found a system that can generate a report I would like to study this system but when I try to generate the system the login was OK but when I put the password and username this error comes out:</p>

<blockquote>
  <p>Fatal error: Call to undefined function mysql_select_db() in
  C:\xampp\htdocs\inventory\inventory\db.php on line 8</p>
</blockquote>

<p>Can anyone else tell me what is the problem in this system?</p>

<p><a href="http://i.stack.imgur.com/Ek34M.png" rel="nofollow">image</a></p>

<p>I'm currently using  XAMPP V3.2.2</p>