Ver Mensaje Individual
  #9 (permalink)  
Antiguo 06/05/2013, 17:43
JulioChilita
 
Fecha de Ingreso: mayo-2013
Ubicación: santa ana, metapan
Mensajes: 9
Antigüedad: 10 años, 11 meses
Puntos: 0
Respuesta: insertar en una tabla elementos seleccionado por checbox generados desde u

perdona si aca esta el form lo creo fuera del do
Código PHP:
  <?php do { ?>
    <tr>
      <td><?php echo $row_concoti['IDMATPRIMA']; ?></td>
      <td><?php echo $row_concoti['IDUNIDAD']; ?></td>
      <td><?php echo $row_concoti['CANTPRODUCTO']; ?></td>
      <td><input name="very[]" id="very[]" type="checkbox" value="<?php echo $row_concoti['IDMATPRIMA']; ?>" /></td>
      <td><?php echo $row_concoti['PRECIOUNITARIO']; ?></td>
    </tr>
    <?php } while ($row_concoti mysql_fetch_assoc($concoti)); ?>
</table>
<form id="form1" name="form1" method="post" action="script.php">
  <input type="submit" name="enviar" id="enviar" value="Enviar"  />
</form>

array(1) {
["enviar"]=>
string(6) "Enviar"
}

Última edición por JulioChilita; 06/05/2013 a las 18:10