Jump to content
  • Advertisement

Archived

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

stefu

PHP: Notice: Undefined variable: c

This topic is 5586 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
Advertisement
quote:
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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!