Facebook
From Chocolate Teal, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 123
  1. <?php
  2.  
  3. $hostadresi = "localhost";
  4. $kullaniciadi = "sydzwebc_root";
  5. $sifre = "#!)G6NCj&erL";
  6. $veritabani = "sydzwebc_root";
  7.  
  8. $con = mysqli_connect($hostadresi,$kullaniciadi,$sifre,$veritabani);
  9. mysqli_set_charset($con, "utf8");
  10. if (mysqli_connect_errno())
  11. {
  12. echo "Veri Tabanına Bağlanamadınız: " . mysqli_connect_error();
  13. }
  14.  
  15. ?>