Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include'koneksi.php';
- ?>
- <html>
- <head></head>
- <body>
- <table border="1">
- <thead align="center">
- <tr>
- <th>Hasil</th
- </tr>
- </thead>
- <?php
- stat($i);
- $N1=floor($i*10)/10;
- $N2=floor($i*100)%10;
- mysqli_select_db($koneksi,"tabelz");
- $query="SELECT z".$N1." as num from tabelZ where noZ='$N1'";
- $sql=mysqli_query($query);
- $total=mysqli_num_rows($sql);
- while($data=mysqli_fetch_array($sql))
- {
- ?>
- <tbody>
- <tr>
- <td><?php echo $data['num'];?></td
- </tr>
- <?php }?>
- </tbody>
- </table>
- </body>
- </body>
- </html>
Add Comment
Please, Sign In to add comment