<div style="padding:10px 0 10px 0 ">
<center><strong> <?php echo "<h3> Terimakasih anda sudah bersedia mengisi kuesioner </h3>";?> </strong></center>
<p><center>Kuesioner ini disediakan untuk pengembangan aplikasi kearah yang lebih baik</center></p>
<br />
</div>
<?php
echo "<div style='width:100%; border: 1px solid #EBEBEB; overflow:scroll;height:700px;'>";
echo '<table width="100%" border="0">';
include "config/koneksi.php";
$hasil=mysql_query("select * from kuesioner");
$jumlah=mysql_num_rows($hasil);
$urut=0;
while($row =mysql_fetch_array($hasil))
{
$id=$row["id_kuesioner"];
$pertanyaan=$row["kuesioner"];
$pilihan_a=$row["a"];
$pilihan_b=$row["b"];
$pilihan_c=$row["c"];
$pilihan_d=$row["d"];
$pilihan_e=$row["e"];
?>
<form action="aksi_kuesioner.php" method="post" >
<tr>
<td width="17"><font color="#000000"><?php echo $urut=$urut+1; ?></font></td>
<td width="430"><font color="#000000"><?php echo "$pertanyaan"; ?></font></td>
</tr>
<tr>
<td height="21"><font color="#000000"> </font></td>
<td><font color="#000000">
A. <input name="pilihan[<?php echo $id; ?>]" type="radio" value="A">
<?php echo "$pilihan_a";?></font> </td>
</tr>
<tr>
<td><font color="#000000"> </font></td>
<td><font color="#000000">
B. <input name="pilihan[<?php echo $id; ?>]" type="radio" value="B">
<?php echo "$pilihan_b";?></font> </td>
</tr>
<tr>
<td><font color="#000000"> </font></td>
<td><font color="#000000">
C. <input name="pilihan[<?php echo $id; ?>]" type="radio" value="C">
<?php echo "$pilihan_c";?></font> </td>
</tr>
<tr>
<td><font color="#000000"> </font></td>
<td><font color="#000000">
D. <input name="pilihan[<?php echo $id; ?>]" type="radio" value="D">
<?php echo "$pilihan_d";?></font> </td>
</tr>
<tr>
<tr>
<td><font color="#000000"> </font></td>
<td><font color="#000000">
E. <input name="pilihan[<?php echo $id; ?>]" type="radio" value="D">
<?php echo "$pilihan_e";?></font> </td>
</tr>
<tr>
<?php
}
?>
<tr>
<td> </td>
<td><center><input type="submit" name="submit" value="Selesai" onclick="return confirm('Apakah Anda yakin dengan pilihan Anda?')"></center></td>
</tr>
</table>
</form>
</div>