PAW

Yosia Nindra Kristiantya 185150300111040
mail@pastecode.io avatar
unknown
php
3 years ago
780 B
1
Indexable
Never
<!DOCTYPE html>
<html>

	<body>
		
	<title>Data Hasil Input</title>
	<a href="index.php"></a>
	<table border="1">
        <tr>
            <th>nama</th>
            <th>nim</th>
            <th>prodi</th>
            <th>fakultas</th>
            <th>alamat</th>
            <th>ttl</th>
        </tr>
        <?php
    include "koneksi.php";
    $data= mysqli_query($kon,"Select * from name");
    while($hehe =mysqli_fetch_array($data)){
?>
<tr>
	<td><?php echo $hehe ["nama"];?></td>
	<td><?php echo $hehe ["nim"];?></td>
	<td><?php echo $hehe ["prodi"];?></td>
	<td><?php echo $hehe ["fakultas"];?></td>
	<td><?php echo $hehe ["alamat"];?></td>
	<td><?php echo $hehe ["tanggal_lahir"];?></td>
</tr>
<?php
    }
?>
</table>

</body>

</html>