Ver Mensaje Individual
  #10 (permalink)  
Antiguo 22/07/2005, 13:25
okram
Invitado
 
Mensajes: n/a
Puntos:
Código HTML:
 <td><a href="a_Secciones_modificar.php?idseccion=<? echo $campos['idseccion']; ?>"
		<a>Modificar</a></td> 
Porque colocas <a> antes de Modificar?. Creo que tu codigo deberia ser asi:

Código PHP:
<html>

<?
include("encabezado.php");
include(
"menu.htm");
include(
"conectar2.php");
$consulta "SELECT * FROM ol_secciones";
$result mysql_query($consulta$coneccion);
$contador 1;
?>
<body>
<table width="757" border="1" align="center" bgcolor="#FFFFFF">
<tr> <!-- Fila Uno -->
<td><strong>Nº</strong></td>
<td><strong>Sección</strong></td>
<td><div align="center"><strong>Modificar</strong></div></td>
<td><div align="center"><strong>Borrar</strong></div></td> 
</tr>
<?
while($campos mysql_fetch_array($result))
{
?>
<tr>
<td><? echo $contador++; ?></td>
<td><? echo $campos['nombre']; ?></td>
<td><a href="a_Secciones_modificar.php?idseccion=<? echo $campos['idseccion']; ?>">Modificar</a></td>
<?
}
?>
</table>
<p>&nbsp;</p>

<p><a href="a_Secciones_modificar2.php?idseccion=<? echo $campos['idseccion']; ?>">modificar</a></p>
<?
include("pie.php");
?>
</body>
</html>
Deberia funcionar asi. Si sigue sin pasarte el id que buscas, el problema ya no es con el codigo, sino la tabla de tu bd.

Salu2