Ok thanks :)
All i get now is:
Notice: Undefined index: page in C:\Program Files\EasyPHP 3.0\www\Site 1\index.php on line 15
any idea?
line 15 is:
$page_name = $_GET["page"];
Printable View
Ok thanks :)
All i get now is:
Notice: Undefined index: page in C:\Program Files\EasyPHP 3.0\www\Site 1\index.php on line 15
any idea?
line 15 is:
$page_name = $_GET["page"];
What is your directory structure, and is the file which contains the code named index.php?
yes. it's name index.php.
the structure is
public_html/index.php
public_html/pages/page.php
It's a notice, it's telling you that you didn't define $page first.
At the top of your page put:
Should do it.PHP Code:error_reporting(E_ALL ^ E_NOTICE);
Thanks all. :)
Works fine now thanks caleb +Rep to all
Ok. hit an error. it's not liking it when the link has been visited.
when the link has been visited, the class seems to knock out.
so it stays unactive even when on the page, once link has been visited.
i believe the style for that is
Code:a:visited {
color: #000;
}
no chris, you're not understanding me.
i've formatted the visited and non visited the same.
that's not my problem.
my problem is, once a link has been visited, and the person returns to the page, none of them turn active when they should be.