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/ | |
|
agan agan semua.. How to get the value of this fo... Sep 12th 2013, 12:40, by Yana Setiono | agan agan semua.. How to get the value of this form below ? <form method="post" action="ppdb/update_quota.php" id="quota" enctype="multipart/form-data"> <table class="tab-rules" > <tr style="background:#D2E9FF"> <th align="left" style="padding:10px">Jurusan</th><th style="padding:10px">Quota Maksimal</th> </tr> <?php $a=1; while($dat=mysql_fetch_array($sjj)){ $id_jur=$dat['id_jur'];$nm_jur=$dat['nm_jur']; $max=$dat['quota_max']; ?> <tr> <td><?php echo $nm_jur; ?></td> <td align="center"><input type="text" class="text max" name="<?php echo $maks[$a]; ?>" value="<?php echo $max; ?>"></td> </tr> <?php } ?> <tr> <td colspan="2" align="right"><input type="submit" class="button" name="submit" value="Submit.."></td> </tr> </table> </form> |
| | kamsudnya apa ini bro? kasi pic bro tampilannya ^_^ |
| | utk mndapat nilai dari $_POST[maks] nya |
| | value="<?php echo $max; ?>"> <=-=- jadi ini jumlah maksimumnya? |
| | yaps;; untuk masing2 jurusan ada batasan maximum |
| | sudah gan .. ternyata pakai ini nich : foreach ($_POST['maks'] as $key => $maks) { echo $maks . "<br />"; } |
| | dah di jawab duluan :v baru mau jawab :v | | |
|
Tidak ada komentar:
Posting Komentar