Mam pytanie.
<html> <head> <title>ItwashQuimim.ugu.pl</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <link rel="stylesheet" type="text/css" href="style/style.css" /> </head> <body> <div id="top"></div> <div id="left"></div> <?php include ('menu.php') ?> <div id="right"> <?php switch($_GET['id']) { case 'live': live(); break; case 'forum': forum($_GET['id']); break; case 'serie': serie($_GET['id']); break; case 'kontakt': kontakt($_GET['id']); break; case 'linki': linki($_GET['id']); break; default: glowna(); } function glowna() { include('glowna.php'); } ?> </div> </body> </html>
Z tego co widzę po błędach nie można w funkcji dać include. Jest jakiś inny sposób aby wczytać stronę?