clicking on link, according html-page opens in cell
Posted: Sat Mar 13, 2004 4:36 am
First of all let's state that I'm a beginner (sorry). I've searched for an answer in the forum but haven't found it. Should I have missed it (maybe I used the wrong keywords) feel free to tell me.
I have a php page which consists of a table (no frames!) with 3 cells.
At the left a cell that includes an html-page (main menu).
At the top a cell that includes another html-page (submenu).
I want the users that click a link in the submenu to see the according page appear in my middle-cel.
Thought that the following might be the way to do it, if a user clicks a link in the submenu:
1) a variable is being stored (e.g. submenu item: 'hobbies' =1, 'pets' =2,...)
2) the php script that's in the middle-cel is being triggered to catch the number that's being stored and calling the right html-page.
So what I would need is the code that needs to be on the link in my submenu and the code for the middle-cel.
Or am I making it just to complicated?
Actually I thought it would be possible because oscommerce seems to work in that way. A main page of which the cell content changes according to what you click.
As I'm a beginner a step-by-step answer would be veeeery nice. I'm willing to work very hard to understand your answer and to get it right.
Thank you in advance.
I have a php page which consists of a table (no frames!) with 3 cells.
At the left a cell that includes an html-page (main menu).
At the top a cell that includes another html-page (submenu).
I want the users that click a link in the submenu to see the according page appear in my middle-cel.
Thought that the following might be the way to do it, if a user clicks a link in the submenu:
1) a variable is being stored (e.g. submenu item: 'hobbies' =1, 'pets' =2,...)
2) the php script that's in the middle-cel is being triggered to catch the number that's being stored and calling the right html-page.
So what I would need is the code that needs to be on the link in my submenu and the code for the middle-cel.
Or am I making it just to complicated?
Actually I thought it would be possible because oscommerce seems to work in that way. A main page of which the cell content changes according to what you click.
As I'm a beginner a step-by-step answer would be veeeery nice. I'm willing to work very hard to understand your answer and to get it right.
Thank you in advance.