potresti creare un array, x esempio:
home.php?id=1
$pagina = array(
"0" => "news.php",
"1" => "info.php",
...
...
...
)
e nella pagina metti:
include $pagina[$_GET['id'];
...può andare così???
potresti creare un array, x esempio:
home.php?id=1
$pagina = array(
"0" => "news.php",
"1" => "info.php",
...
...
...
)
e nella pagina metti:
include $pagina[$_GET['id'];
...può andare così???