daily pastebin goal
48%
SHARE
TWEET

tampil.php

a guest Mar 14th, 2018 7 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. include ("./pengaturan/conn.php");
  3. $view=mysql_query("select * from pemenang order by Id asc");
  4. ?>
  5. <br />
  6. <table align="center" border="1" bgcolor="black" style="color:#8A8A8A; width:100%;font-family:arial narrow;font-size:10px;font-weight:bold;">
  7.     <tr><th>No</th><th>NBA</th><th>Nama</th><th>Unit</th><th>Kupon</th><th>Hadiah</th></tr>
  8.     <?php
  9.     while($row=mysql_fetch_array($view)){
  10.         $Id = $row ['Id'];
  11.         $Nomor = $row ['Nomor'];
  12.         $Nama = $row ['Nama'];
  13.         $Unit = $row ['Unit'];
  14.         $Kupon = $row ['Kupon'];
  15.         $Hadiah = $row ['Hadiah'];
  16.         ?>
  17.         <tr align="left" bgcolor="white" style="color:black;font-family:arial narrow;font-size:10px;font-weight:normal;">
  18.             <td><?php echo $c=$c+1;?></td>
  19.             <td><?php echo $Nomor;?></td>
  20.             <td><?php echo $Nama;?></td>
  21.             <td><?php echo $Unit;?></td>
  22.             <td><?php echo $Kupon;?></td>
  23.             <td><?php echo $Hadiah;?></td></tr>
  24.         <?php
  25.     }
  26.     ?>
  27. </table>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top