Hola feliz año a ti tmb!, pero no soluciono el problema me da este error:
Cita: Warning: main($aux): failed to open stream: No such file or directory in c:\servidor_web\xhtml_css_php\llamadas.php on line 8
Warning: main(): Failed opening '$aux' for inclusion (include_path='.;c:\php4\pear') in c:\servidor_web\xhtml_css_php\llamadas.php on line 8
El codigo que toy utilizando es este:
Código PHP:
<?
if($aux == 'noticias')
{
include('noticias.php');
}
else
{
include('$aux');
}
?>
<br>
<a href="llamadas.php?aux=modding.php>Modding</a>
<br>
<a href="llamadas.php?aux=noticias.php>noticias</a>