I'm simply getting my feet wet in php so...
I need to set a session id in my 3 main templates and an if statement to check for the id of the page
OKAY - I've got 3 XHTML webpage templates that have the same top horizontal menu that has 3 tab links to different areas of the site. These 3 templates also have 3 different side menus called by an include in each one. The side menus have links to call via ajax the contents of a #div from a wiki into a #div in a 4th special template.
So this makes 4 templates: index1.php, index2.php, index3.php and wiki.php and 3 side menus called by php includes: menu1.php, menu2.php, menu3.php.
I want the special template to check and see which of the 3 main templates the user came from and therefore to insert the same sidemenu into the special template that inserts the contents via ajax.
Hope that was clear.
I see how I need to set the sessions id at the top of each index.php template
And then an if statement at the top of the wiki.php template
But I'm really quite lame beyond this and time is short....I'm more a designer than php programmer you see.
Any help on this out there tonight? Thanks /mark