lawang code

lawang Code


Tanyakan kode disini

Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\xampp\htdocs\solocom\edit2.php on line 3

ditanyakan oleh Fatimah Amin Rohmiyarti 2 tahun yang lalu

minta bantuannya temen-temen, saya buat form edit.php tepi muncul pesan error Warning: mysqli_select_db() expects exactly 2 parameters, 1 given in C:\xampp\htdocs\solocom\edit2.php on line 3 ini codenya: <?php $con=mysqli_connect("$host","$username","$password") $tampil=mysqli_select_db("solocom"); if(!$tampil){ die ("Koneksi ke database gagal !"); } if (isset($_GET['id_marketing'])) { $id_marketing=$_GET['id_marketing']; $query=mysqli_query($db_link,"SELECT* FROM 'solocom'.'marketing'WHERE id_marketing='".$id_marketing.'"'); $hasil=mysqli_fetch_array($query); $nama_marketing=$hasil['nama_marketing']; $username=$hasil['username']; $password=$hasil['password']; }else{ $nama_marketing=""; $username=""; $password=""; } ?>

Form edit data

' readonly='readonly'>
Nama
Username
Password
Anda harus login terlebih dahulu untuk memberikan komentar

Recent Tag

X 6
X 48
X 14
X 10
X 1
X 5
X 4
X 18
X 10

Bantuan

Help

Feedback

Help