pacman, rainbows, and roller s
Cara Membuat Koneksi Database MySQL melalui File PHP - My Wapmaster Tutorial Kode Dan Gratis Download

Cara Membuat Koneksi Database MySQL melalui File PHP

Trick PHP by blog saya xtgem
Asskum
Met pagi bos meski trik atau cara membuat koneksi php ke mysql ini sudah sering banget dan banyak di share namun belum tentu hasil dan work nya saat di praktekan untuk itu blogsaya.xtgem.com kembali share dan silahkan di coba saja gan..

Berikut langkah nya pertama Buat File PHP bernama koneksi.php lalu masukan kode berikut ini

<?php
$db_host = "host anda disini";
$db_user = " isi misal u157xxx";
$db_pass ="password anda ";
$db_nama ="nama database";
$koneksi = mysql_connect($db_host, $db_pass, $db_user) or die(maaf koneksi gagal periksa db name diatas);
mysql_select_db($db_nama) or die (maaf nama db tidak ditemukan);
?>

Nah simpan dengan nama koneksi.php lalu sertakan di halaman php anda / include kan di berbagai file yang membutuhkan koneksi.php di atas

sekian saya akhiri wassalam
Back to posts
Comments:
[2015-05-09 15:44] 1yvvyCnFjjaN :

Whoa, whoa, get out the way with that good innromatiof.

[2015-05-09 07:27] nIeFZ6dYL5F :

Hey your tuiatrols are great..Are you going to do any other tuiatrols besides forums? I would like 1 where users can chat like a chat room.I tried going through the tuiatrols and always something comes up while I am doing it, can you post the full source for all the files please?

[2014-04-14 00:31] Waroks :

He heý sip mbah, kan muantap, kalo ada komenk nya, he he

[2015-05-09 15:53] TgdPVnywm2cg :

Fell out of bed feeling down. This has brtniheged my day!

[2015-05-09 14:13] jFVQUwfq8vz :

My hat is off to your astute command over this torib-cpavo!


UNDER MAINTENANCE

Categories

Blogroll