<?php
error_reporting(0);
try {
$db=new PDO("mysql:host=localhost;dbname=personv1;charset= utf8",'kullanici adi','sifre');
}
catch (PDOExpception $e){
echo $e->getMessage();
}
?>
Tekrar düzenledim