edit

parent ee338c49
......@@ -5,7 +5,7 @@ $user="root";
$pass="";
$name="p1d3ti08_proyek";
$koneksi=mysqli_connect($host,$user,$pass)or die("Koneksi ke database gagal!");
mysqli_select_db ($conn, $name)or die("Tidak ada database yang dipilih!");
mysqli_select_db ($name, $koneksi)or die("Tidak ada database yang dipilih!");
$nama_lengkap = $_POST['namalengkap'];
$alamat = $_POST['alamat'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment