Page 1 of 1

PHP isset & include not loading a sub page

Posted: Sun Apr 24, 2011 8:08 pm
by yashzn
Hey there. I have a website that's run like this.

The index.php file has all the php code for the main navbar which links to a main content area that changes, based on the button clicked. ie: contact, about etc. It also loads a side bar. One of the pages loads a sidebar with sub links, these sub links need to load content in the main area. This doesn't seem to work, because the php vars from the sidebar are not being seen for some reason.. help?

Re: PHP isset & include not loading a sub page

Posted: Mon Apr 25, 2011 6:32 am
by getmizanur
can you post your code? lots of people will be able to help you then.

Re: PHP isset & include not loading a sub page

Posted: Mon Apr 25, 2011 1:43 pm
by strafingmoose
Use $GLOBALS or $_SESSION ?

Re: PHP isset & include not loading a sub page

Posted: Tue Apr 26, 2011 9:00 am
by prensil
Please post your code snippet so that it would be easy to find out the actual/core problem.

Re: PHP isset & include not loading a sub page

Posted: Tue Apr 26, 2011 12:58 pm
by fugix
do you receive any errors?