Selasa, 02 Oktober 2012

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:

0 Komentar:

Posting Komentar

Berlangganan Posting Komentar [Atom]

<< Beranda