Kamis, 12 September 2013

PHP Indonesia - Facebook: agan agan semua.. How to get the value of this fo...

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/ 
Start taking a college level music theory class today.

This beginner class is now accessible to aspiring musicians of all ages. Learn all of the basic concepts in an easy to follow manner.
From our sponsors
agan agan semua.. How to get the value of this fo...
Sep 12th 2013, 12:40, by Yana Setiono

Yana Setiono 12:40pm Sep 12
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>

Rama Dhan 1:01pm Sep 12
kamsudnya apa ini bro?
kasi pic bro tampilannya ^_^

Yana Setiono 1:04pm Sep 12
utk mndapat nilai dari $_POST[maks] nya

Rama Dhan 1:05pm Sep 12
value="<?php echo $max; ?>"> <=-=- jadi ini jumlah maksimumnya?

Yana Setiono 1:06pm Sep 12
yaps;;
untuk masing2 jurusan ada batasan maximum

Yana Setiono 1:07pm Sep 12
sudah gan ..
ternyata pakai ini nich :
foreach ($_POST['maks'] as $key => $maks) {
echo $maks . "<br />";
}

Rama Dhan 1:07pm Sep 12
dah di jawab duluan :v
baru mau jawab :v

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