Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 5th, 2012  |  syntax: PHP  |  size: 0.77 KB  |  views: 5  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2.  
  3. while ($item2 = $listado->fetch()) {
  4.     ?>
  5.        
  6.             <tr>      
  7.                 <td>Carril nÂș: <?php echo $item2['idCarrilTabaco'] ?><td>
  8.                
  9.                 <td>  
  10.                     <select name="descripcion" size ="1">
  11.                     <?php while ($tabacos1 = $tabacos->fetch()) {?>    
  12.                             <option value='<?php echo $tabacos1['idTabaco']?>'><?php echo $tabacos1['descripcion']?></option>
  13.                    <?php } ?>  
  14.                     </select>
  15.                    
  16.                    
  17.                 </td>
  18.                
  19.                
  20.                 <td><?php echo $item2['Capacidad'] ?></td>
  21.                 <td><?php echo $item2['Cantidad'] ?></td>
  22.  
  23.             </tr>
  24.  
  25.     <?php
  26. }
  27. ?>
clone this paste RAW Paste Data