Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/10/2006, 10:40
Avatar de ikaroraul
ikaroraul
 
Fecha de Ingreso: octubre-2006
Ubicación: La Paz
Mensajes: 391
Antigüedad: 17 años, 7 meses
Puntos: 16
yo PamPoco entiendo

Man que tal, yo tamPoco entiendo tu Problema, creo que quieres agregar filas a tu tablas o columnas???
bueno Para las filas solo debes usar un while en el cual te dibuje la tabla hasta que la "tabla de la base de datos" este vacia seria mas o menos asi:

Código HTML:
<TABLE BORDER=1 CELLSPACING=1 CELLPADDING=1>
            <TR> 
              <TD>&nbsp;<B>CANTIDAD</B></TD>
              <TD>&nbsp;<B>DENSIDAD</B>&nbsp;</TD>
              <TD>&nbsp;<B>DIMENSIONES</B>&nbsp;</TD>
              <TD>&nbsp;<B>MODIFICAR</B>&nbsp;</TD>
			  <TD>&nbsp;<B>ELIMINAR</B>&nbsp;</TD>
			  
            </TR>
            <?php       
			   while($row = mysql_fetch_array($mostrart))
			{    
			  printf("    
				<tr>	
					<td>%s</td> 
					<td>%s</td>
					<td>%s</td>
				<td><a href=\"borra.php?id=%d\">Editar</a></td>
				<td><a href=\"borra.php?id=%d\">Borrar</a></td>
				</tr> ", 
			  $row["Cantidad"], 
			  $row["Densidad"],
			  $row["Dimensiones"],
			  $row["id_de_Pedido"],
  			  $row["id_de_Pedido"]); 
			  
			   } 
  		   mysql_free_result($mostrart); 
		   mysql_close($link);  
			?>
          </table> 
donde $mostrar es un query:

EsPero que te sirva
EXITOS
[email protected]