All pastes #343135 Raw Edit

Mine

public text v1 · immutable
·published 2007-02-06 20:24 UTC
rendered paste body
         <?php
    /*
     * fazendo um loop para mostrar os resultados
     */
   
      ?>
   
      <table width="200" border="1">
   
        <tr>
  
          <th scope="col">id</th>
  
          <th scope="col">IP</th>
  
          <th scope="col">MAC</th>
  
        </tr>
  
      </table>
  
       
        <?
        while ($linha=mysql_fetch_array($resultado))
        {
  
      ?><table width="200" border="1">
  
        <tr>
  
          <th scope="col"><?php $linha['id']; ?></th>
            <th scope="col"><?php $linha['ip']; ?></th>
  
          <th scope="col"><?php $linha['mac']; ?></th>
  
        </tr>
        </table><?php
  
      /*   echo "id: {$linha['id']}  ";
  
         echo "IP: {$linha['ip']}  ";
  
         echo "MAC: {$linha['mac']} <br />"; */
  
      }
  
       
  
      ?>