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 | 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 |
| | ini listingnya http://pastebin.com/yZa94KAw |
| | bagaimana ya gan |
| | pake query np? |
| | maksudnya |
| | $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 } |
| | ini salah di mana ya gan
$count=mysqli_query($con,"select count(idmapel) from tnilai where idmapel='".$_GET['mapel']."' ");
$hasil=mysql_result($count); | | |
|
Tidak ada komentar:
Posting Komentar