Tema: checkbox
Ver Mensaje Individual
  #6 (permalink)  
Antiguo 04/10/2010, 09:23
Avatar de carmagedon
carmagedon
 
Fecha de Ingreso: junio-2005
Ubicación: Argentina
Mensajes: 794
Antigüedad: 18 años, 10 meses
Puntos: 23
Respuesta: checkbox

Probá primero con el GET, y fijate bien o decime que te devuelve en el URL...

Código PHP:
Ver original
  1. <form action="Fac_1_A.php" method="GET">
  2.     </br>
  3.     <p>
  4.     <table width="318" border="0" align="center">
  5.         <tr>
  6.             <td width="155" align="center"  style="font-size:13px; color: #666666">Rif de la empresa a facturar:</td>
  7.             <td width="52"><input name="ID" id="ID" type="text" style="font-size:10px; color: #666666" align="center" size="13"/></td>
  8.             <td width="24">
  9.                 <input type="submit" name="Submit" value="Crear Factura" style="font-size:11px; color: #666666" align="center" />
  10.             </td>
  11.         </tr>
  12.     </table>
  13.     <table width="100%" border="1" align="center">
  14.         <tr bgcolor="#999999">
  15.             <td width="15%" align="center" style="font-size:13px; color: #666666">
  16.                 <b>ID</b></td>
  17.             <td width="72%" align="center" style="font-size:13px; color: #666666">
  18.                 <b>Descripción</b></td>
  19.             <td width="13%" align="center" style="font-size:13px; color: #666666">
  20.                 <b>Evaluar</b></td>
  21.         </tr>
  22.  
  23.         <?php
  24.         $i = 0;
  25.         while ($row=mysql_fetch_array($registros)){
  26.         $i++;
  27.         ?>
  28.         <tr>
  29.             <td style="font-size:13px; color: #666666">
  30.                 <input value='<?php echo $row["ID"];?>' name='iden' id='iden' size='1' style='font-size:12px; color: #666666' readonly='readonly'/>
  31.             </td>
  32.             <td style="font-size:13px; color: #666666">
  33.                 <?php echo $row["descripcion"];?>
  34.             </td>
  35.             <td style="font-size:13px; color: #666666">
  36.                 <input type='checkbox' name='$i' value='<?php echo $row[$i];?>'/>"<?php echo $i;?>
  37.             </td>
  38.         </tr>
  39.         <?php
  40.         //mysql_free_result($registros);
  41.         //mysql_close($conexion);
  42.         }
  43.         ?>
  44.  
  45.     </table>
  46. </form>
__________________
Freelance - Aplicaciones Web