Andres, gracias...
Mira, el codigo es este, para ponerlos mas en contexto:
Código PHP:
Ver original<?php
$query = "SELECT id_model, model FROM chr_models ORDER BY id_model ASC";
$query_id = $DBCON->query($query);
while($obj = $DBCON->objects('',$query_id)){
echo "<tr style='height:28px;'>";
echo "<td width='300'> ".$obj->model." </td> <input name='modelo_id_".$obj->id_model."' type='hidden' id='modelo_id_".$obj->id_model."' value='".$obj->id_model."' />";
echo "<td width='150'><input name='consultas_cant_".$obj->id_model."' type='text' id='consultas_cant_".$obj->id_model."' onkeypress='return onlyNumbers();' maxlength='5' value='0' style='width:100px;text-align:right;'></td>";
echo "<td width='150'><input name='ventas_cant_".$obj->id_model."' type='text' id='ventas_cant_".$obj->id_model."' onkeypress='return onlyNumbers();' maxlength='5' value='0' style='width:100px;text-align:right;'></td>";
echo "</tr>";
}
?>
De aqui, armo 25 bucles... todo eso necesito cargarlo a la base de datos.
Saludos!
Gustavo.