Rabu, 11 September 2013

PHP Indonesia - Facebook: [ask]gan, ane mau buat jumlah inputan text dan com...

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/ 
Marketing Mobile Apps

This online course focuses on marketing efforts that will increase your app's exposure and establish a mobile app marketing plan. Enroll today for $99.
From our sponsors
[ask]gan, ane mau buat jumlah inputan text dan com...
Sep 11th 2013, 18:09, by Rere Saputra

Rere Saputra 6:09pm Sep 11
[ask]gan, ane mau buat jumlah inputan text dan combo berdasarkan jumlah data, gimna cara mengakali untuk membedakan name dari input text dan combo tersebut?

kalo yang ane buat name untuk semua input dan combo jadi sama gan
mohon bantuan gan -_-

<?php $data = array("tes1","tes2","tes3","tes4");

for ($i=0; $i<count($data); $i++){

echo "<table border='1px' bordercolor='#D0D0D0' style='border-collapse: collapse' cellpadding='3px' align='center' width='75%'>
<tr>

<td align ='center' colspan='2'><br>

<input name= k".$i." type='text' size='55'><br>
<input name= k".$i." type='text' size='55'><br>
<input name= k".$i." type='text' size='55'><br>
<input name= k".$i." type='text' size='55'></td>
<td valign='top'><br/>
<select name=m".$i.">";
?><?php
$bln = array(
'1' => 'Sangat Buruk',
'2' => 'Buruk',
'3' => 'Cukup',
'4' => 'Baik',
'5' => 'Sangat Baik',
);
foreach ($bln as $k => $v) {
echo '<option value=';
echo $k;
if ("m".$i == $k) {
echo ' selected';}
echo '>'.$v.'</option>';
}

echo "</select></td></tr>";

}

?>

Iit Luphy Thefinaldestination 6:18pm Sep 11
dikasi [1] , [2] n sterusnya , maaf sya asal jwab . mc new

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