Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/03/2014, 19:53
adrian_gp2013
 
Fecha de Ingreso: marzo-2014
Ubicación: tabasco
Mensajes: 2
Antigüedad: 10 años, 1 mes
Puntos: 0
enlaces no funcionan

hola que tal, quisiera ayuda pues tengo problemas con los enlaces en el servidor 1&1

los tengo de esta forma y no me funcionan:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
</head>
<body>
<div class="menu">
<li>
<a href="index.php">Inicio</a>
<a href="index.php?section=1">Nosotros</a>
<a href="index.php?section=2">Servicios</a>
<a href="index.php?section=3">Registro</a>
<a href="index.php?section=4">Articulos</a>
<a href="index.php?section=5">Contacto</a>
</li>
</div>
</div>
</div><!-- end of menu -->
<?php if ($section==1){ ?>
<div>nosotros</div>
<?php }elseif ($section==2){?>
<div>servicios</div>
<?php }elseif ($section==3){?>
<div>registros</div>
<?php }elseif ($section==4){?>
<div>articulos</div>
<?php }elseif ($section==5){?>
<div>contacto</div>
<?php }else{ ?>
<div>inicio</div>
<? } ?>
</body>
</html>

en otro servidor si funcionan y no entiendo porque en este de 1&1 no. ojala pudieran orientarme que es lo que esta mal, de antemano gracias.