Código PHP:
<body bgcolor=000000>
<?php include('header.php');?>
<table cellspacing=0 align=center bgcolor=FF9C00 cellpadding=0>
<tr>
<td width=165 valign=top><?php include('menu.php');?></td>
<td width=595 valign=top align=center><?php include('regvartut.php'); include($secc);?>
</td>
</tr>
</table>
<?php include('footer.php');?>
</body>
Código PHP:
<?php
switch ($secc)
{
case "categorias": $secc = "tutcategorias.php";
break;
case "vertut": $secc = "tutver.php";
break;
case "vertuts": $secc = "tutsver.php";
break;
default: $secc = "error404.php";
}
?>
ej : http://newstyle-designs.shinranet.co...ecc=categorias y me sale la default porque?