Page 1 of 1
phpComplete homepage navigation
Posted: Fri Feb 21, 2003 3:10 am
by CrazyJimmy
I noticed that regardless of what link on the navbar is clicked, the navbar still remains as does the users online part at right hand side but the content changes. I want to implement this on my site instead of frames and am looking for some advice on how to do it
Thanks
Posted: Fri Feb 21, 2003 11:26 am
by cctrax
Ummm...there are quite a few different ways you can go about this one.
Personally, when ever I made an area for links, etc that I want to keep from page to page, I find it easier to place the code in a new file, and just use the include function to pull it into text. For example:
Nothing difficult. As for the user login information, etc - I would suggest using a session to keep the information intact. Even if you leave the page, as long as the session variables are defined at the top of the page, all is good with the world.