 
			
				25/08/2008, 11:00
			
			
			     |  
      |    |    |    Fecha de Ingreso: abril-2008  
						Mensajes: 151
					  Antigüedad: 17 años, 6 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 "</tr>"; 
      } 
      echo "</table>"; 
      echo "</form>"; 
Ok listo.... 
Igual no imprime nada todavia :(           |