script delete

include ("connect.php");
$id_peserta = $HTTP_GET_VARS['id_peserta'];
$hapus = OCIParse($conn,"delete from peserta where id_peserta='$id_peserta'");
$s = ociexecute($hapus);
OCICommit($conn);
if(!$s){
echo "PROSES HAPUS DATA GAGAL".var_dump(ocierror());
}else{
echo "PROSES HAPUS DATA BERHASIL";
}
oci_close($conn);
?>

Comments

Popular posts from this blog

#2019GantiLaptop

Ciwidey - Cidaun - Cianjur

Purworejo Nasibmu Kini