try iframes
I have recently been playing around with web design, but all I know is CSS and HTML. I do not know much about PHP, or any other dynamic web language, but I'm willing to learn—although I don't have a whole lot of time to do so. So, over the last two nights, I put together a simple design that I really like. The basics of it shouldn't change too much, but that doesn't really matter too much here. My problem is that unless this site is going to be one or two pages that never change, which it won't be, a static design won't work for me. I'd like to know how I can transform simple CSS and HTML into a "full blown" website.
Right now the site is composed of three (very standard) things [click here for a screenshot]:
- Navigation Menu
- Posts Section
- Sidebar
I would like these three things to be changed on every page I make when I change them. So I guess I'd have to utilize PHP and MySQL or SQLite, with tables for each of these things. Can anybody help me out. I can provide some more info on the code itself if it's needed.
Last edited by Corndog; 09-24-2011 at 09:08 PM.
try iframes
Build a template... for now a header.php with the page header. Include that in the page you would like to display it in. If you change the header.php file, everything that has included the php file will show that update. Now, that will handle basic updates of the header, for a fully interactive website you will need a database. The database will store essential information, and you will have to use PHP to query it. There is TONS of information about using php with mysql, so I will stop there.
THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE
"First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311
HAVING VIRTUAL DETOX
I was hoping there was a much easier, lazier way. I guess the only lazy option is to use a CMS or some other software.
I guess I'll be learning PHP. It isn't that hard anyway...