PHP: Notice: Undefined variable: c
Hello,
I'm trying to program some PHP site navigation and got this notice on my page:
Notice: Undefined variable: c in index.php on line 41
The code is:
if ($c != "") {
...
}
I use parameter c that is in the address line like this:
index.php?c=news&p=0
It works perfectly on my computer with Apache/1.3.27 running.
But it doesn't work in my unversity account (Apache/1.3.26).
Is this propably disabled option or should I somehow tell that c is a variable from address line?
Thanks.
[edited by - stefu on March 3, 2003 5:25:39 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement