Pages

October 24, 2013

Membuat Hapus Siswa dengan Php

Nama File  : hapus_siswa.php


<?php
mysql_connect("localhost","root","root");
mysql_select_db("sisfokol");

$id=$_GET['id'];       
$delete="Delete from siswa Where id='$id'"; 

mysql_query($delete) or die ("Error tu"); 
echo "<center><h3>Data berhasil di hapus</h3></center>"; 
echo "<center><h3><a href=tampil_siswa.php>Back Tampil Data</a></h3></center>"; 
?> 

Comments
0 Comments

0 komentar:

Post a Comment