PHP Layout help.
Howdy!
I am a webmaster from way back, I used to make fun little websites for almost anything. I was never amazing, and I didn't really understand a lot of what I did. But one thing I did do was create layouts using PHP - essentially so that I could just have the layout of the page displayed on the index.php page, then have all content for different pages written on a seperate .html file. By clicking links on the website, it would reload the index.php page and display the new content in the designated area.
I did this many times, but I used to just rip off the code from the last website I made and never bothered to learn it.
So years later, I have come to make another website - but have completely lost all my previous website files.
So essentially here is what I have -
I make the layout using photoshop, it slices it up into tables for me so I have the different link images in tables, plus the area designated for the content in a table (also an image).
I just need the code for the content section, all the links will be "index.php?id=PAGE". The area for the content does not need to change in size as the content will be minimal. I just need the most simple code for reloading the page with new content.
I hope this makes sense - all help will be appreciated.
Thanks a lot!
|