PHP isset & include not loading a sub page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
yashzn
Forum Newbie
Posts: 1
Joined: Sun Apr 24, 2011 8:03 pm

PHP isset & include not loading a sub page

Post 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?
User avatar
getmizanur
Forum Commoner
Posts: 71
Joined: Sun Sep 06, 2009 12:28 pm

Re: PHP isset & include not loading a sub page

Post by getmizanur »

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

Post by strafingmoose »

Use $GLOBALS or $_SESSION ?
prensil
Forum Newbie
Posts: 15
Joined: Tue Apr 26, 2011 8:38 am
Location: Ahmedabad
Contact:

Re: PHP isset & include not loading a sub page

Post by prensil »

Please post your code snippet so that it would be easy to find out the actual/core problem.
fugix
Forum Contributor
Posts: 207
Joined: Fri Mar 18, 2011 8:01 pm

Re: PHP isset & include not loading a sub page

Post by fugix »

do you receive any errors?
Post Reply