Selasa, 17 September 2013

PHP Indonesia - Facebook: ASK mastah mau tanya ketika buton simpan diklik d...

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/ 
Kinvey Strategy eBook

Kinvey answers 7 critical questions about creating your mobile strategy and technology policies. See our answers in this free eBook.
From our sponsors
ASK mastah mau tanya ketika buton simpan diklik d...
Sep 18th 2013, 04:43, by Gunawan Frincencius

Gunawan Frincencius 4:43am Sep 18
ASK

mastah mau tanya ketika buton simpan diklik dan berhasil disimpan maka ketika memilih kelas, semester, tahunajaran, dan matapelajaran yang sama, maka akan muncul pesan data sudah ada

berikut ini screen shootnya

Gunawan Frincencius 4:45am Sep 18
ini listingnya http://pastebin.com/yZa94KAw

Gunawan Frincencius 4:46am Sep 18
bagaimana ya gan

Tonjlenx Makjentit Makjengking Makjengat 4:48am Sep 18
pake query np?

Gunawan Frincencius 4:53am Sep 18
maksudnya

Tonjlenx Makjentit Makjengking Makjengat 4:57am Sep 18
$query=mysql_query("select count(id) from nilai where id_kelas='$_POST[kelas], semester= '$_POST[semester]',
tahun_ajaran='$_POST[tahun_ajaran]',
id_pelajaran='$_POST[pelajaran]' and nis='$_GET[nis]''");

$hasil=mysql_result($sql);

if($hasil>0)
{
echo "Data sudah ada";
}
else
{
//proses selanjutnya
}

Gunawan Frincencius 5:27am Sep 18
ini salah di mana ya gan

$count=mysqli_query($con,"select count(idmapel)
from tnilai
where idmapel='".$_GET['mapel']."'
");

$hasil=mysql_result($count);

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