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?
PHP isset & include not loading a sub page
Moderator: General Moderators
- getmizanur
- Forum Commoner
- Posts: 71
- Joined: Sun Sep 06, 2009 12:28 pm
Re: PHP isset & include not loading a sub page
can you post your code? lots of people will be able to help you then.
-
strafingmoose
- Forum Newbie
- Posts: 15
- Joined: Mon Apr 18, 2011 2:56 pm
Re: PHP isset & include not loading a sub page
Use $GLOBALS or $_SESSION ?
Re: PHP isset & include not loading a sub page
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
do you receive any errors?