I wanted to make my site lighter, it has 7 pages to include all these pages in the home with the URL thus getting ?pagina=contato
and so on all pages
I wanted to make my site lighter, it has 7 pages to include all these pages in the home with the URL thus getting ?pagina=contato
and so on all pages
Make it my friend
<?php
$pagina = $_GET['pagina'];
if($pagina == "contato"){
include_once("Pages/contato.php");
}elseif($pagina == "outra"){
include_once("Pages/outra.php");
}
?>