Hello,
Thanks.But, this url gives you an idea what exactly what I'm trying to do.But, this is purely html.I'm trying to do all this in PHP.
http://www.sarath.iwebland.com
Courses is a topic name.Major subjects is a subtopic name.Communication engineering is a article name and when you click on comm.engg, you see a text displaying with a heading which has brown background and on it stating "courses" on the left side and "back".I just want to put this heading automatically when i click any article name corresponding to that particular topic.
What I'm doing is
1 - Get all the topic names from the table on the navigation bar.
2 - Click on a topic name and show the sub-topic name and below that show all the article names corresponding to the sub-topic.Click on the article name and show the article content.
How my table structure looks like:
1.topic(topic_id, topic_name)
2.subtopic(subtopic_id, topic_id, subtopic_name)
3.article(article_id, topic_id, subtopic_id, article_name, article_content)
Let me give one example:
topic_id : 1
topic_name : courses
subtopic_id : 1
subtopic_name : main subjects
article_id : 1
article_name : communication engineering
article_content : text1.html
So, now text1.html file will display when you click on communication engineering.
"STRICTLY, I DONT WANT TO PLACE THIS HEADING IN THE TEXT1. FILE BECAUSE THERE ARE SO MANY ARTICLE NAMES AND I WANT TO SHOW THE HEADING AUTOMATICALLY ON THE ARTICLE CONTENT WHEN I CLICK ON ANY ARTICLE NAME CORRESPONDING TO THAT TOPIC".
I want to implement the same heading as i showed in the above url.
Any ideas please
Thanks everybody.