Sabtu, 27 Juli 2013

PHP Indonesia - Facebook:

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 NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Jul 28th 2013, 04:11, by Lintar Febriyanto

Lintar Febriyanto 4:11am Jul 28
<form action="proses.php" method="post">

<?php
for($i=0;$i<=5;$i++)
echo "<tr>
<td>$i</td>
<td><input type='text' name='nis''".$i."' size='20'></td>
<td><input type='text' name='nama''".$i."' size='20'></td>
<td align='center'><select name='jk'>
<option value='L'>L</option>
<option value='P'>P</option>
</select>
</td>
<td><input type='text' name='id''".$i."' ></td>
</tr>
";
?>
<td colspan="5"><button>S I M P A N</button></td>
</form>

<?php
include "konek.php";

for($i=0;$i<=5;$i++)
{
$a=$_POST['nis'.$i];
$b=$_POST['nama'.$i];
$c=$_POST['id'.$i];
echo $masuk="insert into siswa values (Null,
'$a',
'$b',
'$_POST[jk]',
'$c')";
$query=mysql_query($masuk);

}
?>

gan di bantu y itu slah apax apakah namex

Herdis Suryatna 4:12am Jul 28
sudah dicoba dijalankan?

Nick Laros 4:13am Jul 28
<input type='text' name='nis''".$i."' size='20'> petiknya kebanyakan tuh mas

Nick Laros 4:14am Jul 28
<input type='text' name='nama''".$i."' size='20'>
ini juga

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