mau tanya kok erorr ya kode saya ada tulisan seperti ini Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\tamu\tampil_tamu_user.php on line 14, mohon bantuan nya mas
<h3>Data Tamu</h3>
<?php
$konek= mysqli_connect ("localhost","root","","latihan");
$tampil = "SELECT * FORM tamu ORDER BY id_tamu";
$hasil = mysqli_query ($konek,$tampil);
while($data=mysqli_fetch_array ($hasil)){
echo "Nama: $data[nama] <br>";
echo "E-mail: $data[email] <br>";
echo "Pesan: $data[pesan] <br><hr>";
}
?>