Hi,
It will be that somebody can say me what is missed with mine code?
I already tried everything to make to appear of this form http://site.com/index.php?home=contact, and he is not functioning... the code and this:
<?php
if ($home) {
switch ($home) {
case "contact":
include dirname( FILE ) . "/files/contact_us.php";
break;
case "downloads":
include dirname( FILE ) . "/files/downloads.php";
break;
}}
if ($page) {
switch ($page) {
case "link":
include dirname( FILE ) . "/files/link.php";
break;
}
exit;
}
?>
when i clic in link (href="teste.php?home=contac"), the page is shown correctly, however when I try (href="teste.php?page=link"), it does not show nothing, the shown page is the initial page.
it will be that somebody can me of the one force with this code???? please!
sorry my terrible english 🙁