I have this code:
<?php include("FOLDER1/archivos/MENU.php"); ?>
<?PHP
if (isset($_GET['id'])) {
if (!empty($_GET['id']) && $_GET['id'] != "index") {
if (file_exists("./FOLDER1/".$_GET['id'].".php")) {
include ("./FOLDER1/".$_GET['id'].".php");
} else {
echo "La pagina que estas buscando no existe";
}
} else {
include ("FOLDER1/inicio.php");
}
} else {
include ("FOLDER1/inicio.php");
}
?>
<?php include("FOLDER1/archivos/footer.php"); ?>
I will explain its use. when loading in my index the 3 parts, I have to in MENU.php apart from having the additional keypad immediately I have an animation (music) .. load the page and shows everything but when I click any section of the menu .. if I load the php sheet page requested, but the animation (music) starts again .. it is supposed that only the menu selected should be refreshed .. that is why I say that not only is what you ask for, but the whole page and where I detect it is in the music that starts again and it is assumed that in a web page modulated in PHP should not happen that is what comes to replace iFrames .. I hope you have understood .. Thank you.