arslan89
12-07-2010, 01:11 AM
Hey, I haven't worked on PHP and HTML for a while, so I am trying to get back into it and make a website..
What PHP code do I have to use to make it so that I can make links on my index.php page that people can click, and the content on those .html pages.. will be displayed in index.php layout page..
I have done this before, but I totally forgot.. the links were similar to '?id=aboutme.html' .... that would basically put the content of .html in my index.php page.. however.. when you first visit the index.php page... it will have a default page (such as news or other content already being displayed.. How do I do that?
I want my news to be displayed by default.. and then.. have links to the .html pages.. my news is located at '/public_html/new/news/news.php' ... so how will I implement that by default.. and then also have the functionality of having '?id=' pages.. ?
Thanks in advance!
What PHP code do I have to use to make it so that I can make links on my index.php page that people can click, and the content on those .html pages.. will be displayed in index.php layout page..
I have done this before, but I totally forgot.. the links were similar to '?id=aboutme.html' .... that would basically put the content of .html in my index.php page.. however.. when you first visit the index.php page... it will have a default page (such as news or other content already being displayed.. How do I do that?
I want my news to be displayed by default.. and then.. have links to the .html pages.. my news is located at '/public_html/new/news/news.php' ... so how will I implement that by default.. and then also have the functionality of having '?id=' pages.. ?
Thanks in advance!