Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


PHP: Notice: Undefined variable: c

This topic is 5683 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post

Link to post
Share on other sites
Original post by niyaw
you know, php comes with documentation.

Sorry, maybe moderators should close this thread now!!!
But thanks for your help, I really didn''t know that.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!