field hapus
<?php
$conn=mysql_connect("localhost","root","bismillah") or die ("Server Error");
mysql_select_db("anwari",$conn);
$sql="delete from pegawai where ''=''";
$hasil=mysql_query($sql);
if($hasil){
echo "data telah dihapus";
}
else {
echo "data gagal dihapus";
}
?>
Label: php dan mysql
0 Komentar:
Posting Komentar
Berlangganan Posting Komentar [Atom]
<< Beranda