bir script var elimde ama scripti çalıştıramadım.
<?php
try{
$db = new PDO("mysql:host=localhost;dbname=pat_p;charset:utf8;", "pat_p","n}9DVGYta*ig");
$db->exec("SET NAMES 'utf8'; SET CHARSET 'utf8'; SET COLLATION_CONNECTION='utf8_turkish_ci'");
}catch (PDOException $e){
print $e->getMessage();
}
?>nerede bir sıkıntı var acaba?