1
I’m trying to open a page with a link inside the other, but it doesn’t load, and apparently everything seems to be ok.
<?php
//pagina principal
echo "<a href=\"principal.php\">Link1<?</a>";
echo "<a href=\"principal.php?a=pagina2.php\">Link2<?</a>";
echo "<a href=\"principal.php?a=pagina3.php\">Link3<?</a>";
@$pagina = $GET['a'];
if(isset($pagina)){
include $pagina;
}else{
echo "Bem vindo a página principal";
}
?>
The contents of page 2 and page 3 do not appear, what could it be? Thank you from now on
Show, thank you very much!!!
– Samuel Samuel