"> <table style="margin-left:30%;" id="muestraDatos"> <thead> <tr> <th >Materia Prima</th> <th>Medida</th> <th >Cantidad</th> <th >Seleccionar</th> </tr> </thead> <?php $_SESSION['cantInsumos'] = 0; foreach ($insumos as $insumo) { $_SESSION['cantInsumos']++; $cantidadInsumos = $fProductos->cantidadPorInsumo($insumo['numero'], $idProducto); ?> <tr> <td><?php echo $insumo['nombre']; ?> </td> <td><?php echo $insumo['unidad']; ?> </td> <td><input style="width: 50px; text-align: center" name="cant<?php echo $insumo['numero']; ?>