Jumat, 02 Agustus 2013

PHP Indonesia - Facebook: bang, gimana yak caranya supaya perulangan ini bis...

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/ 
bang, gimana yak caranya supaya perulangan ini bis...
Aug 2nd 2013, 07:59, by Warisman Yudhi Syam

Warisman Yudhi Syam 7:59am Aug 2
bang, gimana yak caranya supaya perulangan ini bisa normal? maksudnya gak ngulang2 ampe ratusan kali alias hanya ngulang sebanyak jumah $_POST['bup'] yang ada atau sebanyak $_POST['mk']?

terima kasih sebelummya


foreach($_POST['bup'] as $bup){
foreach($_POST['mk'] as $kdmakul){
$result = mysql_query("INSERT INTO krs (`npm`, `kdmakul`, `gg`, `ta`, `kdprodi`, `jenis`, `bup`) VALUES('$npm','$kdmakul','$gg','$ta','$kdprodi','$jenis','$bup')");
}
}

Rahmad Wijayanto 8:25am Aug 2
maksdny paan ndak jelas..???

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