Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- if(isset($_GET['id'])){
- $id = $_GET['id'];
- mysql_connect("localhost","root","");
- mysql_select_db("tanggal");
- $query = mysql_query("delete from profil where id='$id'");
- if($query){
- echo "berhasil";
- }else{
- echo "gagal";
- }
- }else{
- echo "What's up, Doc?";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment