<?php switch($_GET['page']) { case 'kontakt': include 'kontakt.php'; break; case 'omnie': break; default: include 'glowna.php'; } ?>
Możliwość wyświetlania nazwy strony w <title>
Jak tego dokonać?
<?php switch($_GET['page']) { case 'kontakt': include 'kontakt.php'; break; case 'omnie': break; default: include 'glowna.php'; } ?>
switch($_GET['page']) { case 'kontakt': break; ... }
<?php include 'news.php'; ?> <html> <head> </head> <body> </body> </html>