Senin, 05 Agustus 2013

PHP Indonesia - Facebook:

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
hii ...
Aug 5th 2013, 23:51, by Reinkarnasi Tough Sailor

Reinkarnasi Tough Sailor 11:51pm Aug 5
<html>
<head>
<tittle>hii</tittle>
</head>
<body>
<?php
$koneksi=mysql_connect("localhost","root","")
or die ("Gagal konek".mysql_error());
if ($koneksi) {
mysql_select_db("latihandb",$koneksi)
or die ("database gagal dibuka".mysql_error());
$ID=$_GET['ID'];
$sql="DELETE FROM anggota Where id_anggota='$ID'";
$qry=mysql_query($sql,$koneksi)
or die ("query gagal".mysql_error());
if ($qry){
echo "data berhasil dihapus";
include "hapustampil.php";
}
else
echo "gagal menghapus";
exit;
}
?>
</body>
</html>
master2 ane lagi belajar mysql dan php,,,
ane lagi buat hapusdata.php
hasilnya kok malah seperti ini,,,
mohon petunjuknya donk master2

Muhammad Taufiq Hidayat 11:53pm Aug 5
php lama tuh,,

Wisnu Adi Screamo 12:06am Aug 6
Coba ganti kode ini :
if ($qry){
echo "data berhasil dihapus";
include "hapustampil.php";
}
else
echo "gagal menghapus";
exit;
}
Ubah kode diatas jadi :
if ($qry){
echo "data berhasil dihapus";
include "hapustampil.php";
}
else {
echo "gagal menghapus";
exit;
}

Reinkarnasi Tough Sailor 12:12am Aug 6
blm bisa juga gan

Reinkarnasi Tough Sailor 12:12am Aug 6
<html>
<head>
<tittle>hii</tittle>
</head>
<body>
<?php
$koneksi=mysql_connect("localhost","root","")
or die ("Gagal konek".mysql_error());
if ($koneksi) {
mysql_select_db("latihandb",$koneksi)
or die ("database gagal dibuka".mysql_error());
$ID=$_GET['ID'];
$sql="DELETE FROM anggota Where id_anggota='$ID'";
$qry=mysql_query($sql,$koneksi)
or die ("query gagal".mysql_error());
if ($qry){
echo "data berhasil dihapus";
include "hapustampil.php";
}
else
{echo "gagal menghapus";
exit;}
}
?>
</body>
</html>

Muhammad Taufiq Hidayat 12:17am Aug 6
liat tabelnya om

Muhammad Taufiq Hidayat 12:20am Aug 6
<?php
$koneksi=mysql_connect("localhost","root","")
mysql_select_db("latihandb");
$id=$_GET['id'];
$qry=mysql_query("DELETE FROM anggota WHERE id_anggota='$id'");
?>

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar