try {

$db_ad='kurtveritabani';
$db_kullanici='kurtkullanici';
$db_sifre='kurtsifre10';
$db = new PDO("mysql:host=160.153.133.86;dbname={$db_ad};","$db_kullanici", "$db_sifre");

}
catch (PDOException $e)
{
print "Bağlantı Hatası!: " . $e->getMessage() . "
";
die();
}


try {

$db_ad='kurtveritabani';
$db_kullanici='kurtkullanici';
$db_sifre='kurtsifre10';
$db = new PDO("mysql:host=localhost;dbname={$db_ad};","$db_kullanici", "$db_sifre");

}
catch (PDOException $e)
{
print "Bağlantı Hatası!: " . $e->getMessage() . "
";
die();
}

bu 2sinide deneyin denemeden yazdım çalışması gerek ama