Ver Mensaje Individual
  #26 (permalink)  
Antiguo 25/08/2008, 10:49
jrodriguez30
 
Fecha de Ingreso: abril-2008
Mensajes: 151
Antigüedad: 16 años, 11 meses
Puntos: 0
Respuesta: Recorrer tabla

echo "<form name = formulario action = adicionapedido.php method = get>";
echo "<TABLE BORDER = 10 id = tabla>";
echo "<TR><TH bgcolor=#C0D9D9>Fecha</th><TH bgcolor=#C0D9D9>Categoria</th><TH bgcolor=#C0D9D9>Cod</th><TH bgcolor=#C0D9D9>Descripcion</th><TH bgcolor=#C0D9D9>Unidad</th><TH bgcolor=#C0D9D9>Cantidad</th>";
while($sql = mysql_fetch_array($consulta))
{
echo "<tr>";
echo "<td>".$fecha_."</td>";
echo "<td>".$sql['subcategoria']."</td>";
echo "<td>".$sql['codigo']."</td>";
echo "<td>".$sql['descrip']."</td>";
?><td id="unidad"><input type="text" name="und" id="und"></td>
<td id="cantidad"><input type="text" name="cant" id="cant"></td> <?
echo "</form>";
echo "</tr>";
}
echo "</table>";
Solamente tengo mi formulario... y a donde pienso enviar los datos una vez filtrado la tabla....