<? if($_GET[id]==historia) { include("historia.html"); } elseif($_GET[id]==oszkole) { include("oszkole.htm"); } ?>
taki kod mam na stronie... i wszystko sie wykonuje ale takie notki mi wyskakuja:
Notice: Use of undefined constant id - assumed 'id' in c:\www\lo4\dzial.php on line 21
Notice: Use of undefined constant historia - assumed 'historia' in c:\www\lo4\dzial.php on line 21
Notice: Use of undefined constant id - assumed 'id' in c:\www\lo4\dzial.php on line 22
Notice: Use of undefined constant oszkole - assumed 'oszkole' in c:\www\lo4\dzial.php on line 22
teoretycznie rozumiem - jest niezdefiniowana stała id... no ale skoro sie wykonuje to dlaczego mi to wyskakuje?
linki do podstron wygladaja normalnie: