Change DB.php file

new version for connecting DB, now with php PDO