Advertisement
Jh0n-K3v1n

Table help enumerations

Apr 6th, 2020
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.09 KB | None | 0 0
  1. <table class="table table-dark">
  2.                               <thead>
  3.                                 <tr>
  4.                                    <th scope="col">#</th>
  5.                                   <th scope="col">Nombre</th>
  6.                                   <th scope="col">Profesion</th>
  7.                                   <th scope="col">Nivel</th>
  8.                                   <th scope="col">Oro</th>
  9.                                   <th scope="col">Puntos Online</th>
  10.                                 </tr>
  11.                               </thead>
  12.                                <?php
  13.                                 $consulta = "select * from entities";
  14.                                 $result = mysql_query($consulta) or die(mysql_error());
  15.                                
  16.                                ?>
  17.                               <tbody>
  18.                              
  19.                               <?php
  20.                                 while($mostrar=mysql_fetch_array($result))
  21.                                 {  
  22.                               ?>
  23.                                     <tr>
  24.                                       <th scope="row"><?php echo $mostrar['en este campo deberia ir la enumeracion']?></th>
  25.                                       <td><?php echo $mostrar['Name']?></td>
  26.                                       <td><?php echo $mostrar['Class']?></td>
  27.                                       <td><?php echo $mostrar['Level']?></td>
  28.                                       <td><?php echo $mostrar['Money']?></td>
  29.                                       <td><?php echo $mostrar['ConquerPoints']?></td>
  30.                                     </tr>
  31.                                    
  32.                                    
  33.                               <?php
  34.                                 }
  35.                               ?>
  36.                               </tbody>
  37.                             </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement