title: Connect to Database in Object oriented PHP
body: <p>How can I create a class in oo php wherein that class will be the one that will manage the DB connection?</p>
  
  <p>Sample codes or sites will do.
  Im using MySQL Command Client by the way.</p>
  
  <p><strong>Main problem:</strong> 
  How can I connect to the DB so that I can insert new records, retrieve records, update records?</p>
  
  <p>Thank you!</p>