I'm trying to convert Starlit Illuminations to PHP, but I'm puzzled, and I can't figure out what to do.
My question is, how do I change the content for every page if each page i make links to the same two files for every page? Then the content on every page would be the smae. I hope I'm amking sense.
Here' my header.php file:
Code:
<HTML>
<HEAD>
<link rel=stylesheet type=text/css href="style.css">
<title>starlit illuminations...s p r i n g s b e g i n n i n g s</title>
<meta name="Title" content="Starlti Illuminations">
<meta name="Author" content="Megan Schmidt">
<meta name="Description" content="A site with a little bit of everything, but mostly art">
<meta name="Keywords" content="Art, HTML, CSS, Writing, Photoshop, Graphics, Media, Everything, Star Wars, Pirates of the Caribbean, Harry Potter, Lord of the Rings">
<meta name="Generator" content="Notepad">
<meta name="Language" content="English">
<meta name="Expires" content="January 1, 2010">
<meta name="Copyright" content="© Megan Schmidt 2005">
<meta name="Designer" content="Megan Schmidt">
<meta name="Publisher" content="Megan Schmidt">
</HEAD>
<BODY>
<script type="text/javascript"src="http://www.makepovertyhistory.org/whiteband_small_right.js"> </script><noscript><a href="http://www.makepovertyhistory.org/"> http://www.makepovertyhistory.org</a></noscript>
<div style="position:absolute; left:28px; top:0px; width:700px;">
<img src="sibanner2.jpg" border="0"></img src>
</div>
<div style="position:absolute; left:475px; top:355px; width:250px;">
<center><a href="http://www.illuminations.secret-whispers.com/">Home</a href><br>
<a href="http://www.illuminations.secret-whispers.com/site.html">Site</a href><br>
<a href="http://www.illuminations.secret-whispers.com/maiden.html">Maiden</a href><br>
<a href="http://www.illuminations.secret-whispers.com/art.html">Art</a href><br>
<a href="http://www.illuminations.secret-whispers.com/writings.html">Writings</a href><br>
<a href="http://www.illuminations.secret-whispers.com/visitor.html">Visitor</a href><br>
<a href="http://www.fantasy-worlds.co.uk" target="_new">Host</a href><br><br>
<b>Tagboard</b><br><br>
<script type="text/javascript" src="http://saybox2.co.uk/output.php?user=starlit-illuminations"></script><br><br>
<b>Disclaimer</b><br><br>
Content © Megan Schmidt 2005-2006</center>
</div>
<div style="position:absolute; left:33px; top:355px; width:440px;">
And here's my footr.php file:
Code:
<center><b>Welcome</b></center><br>
Welcome to Starlit Illuminations, Ellethwen's personal website. Here you can find my art, writings, and more. Please leave a message on my tag, and <a href="mailto:moonlit-wings{AT}hotmail{DOT}com">E-mail me</a href> if you have any problems, questions, or want to suggest something.<br><br>
<center><b>Blog</b></center><br>
<i>February 7, 2006</i><br><br>
<img src="keira01.jpg" width="100" height="100" align="left"></img src>Whee!!!! New layout. The site is now converted to PHP, which I like. I won't skin the site until a while, so I'm comfortable with this layout. I based it off the new layout at <a href="http://www.magicbox.ti-fi.com" target="_new">The Magic Box</a href>. I made it springy because I love spring, and the picture of the crocuses was really good. Besides, I probably won't change the layout again until it IS spring, sooo...I'm good. :-) Now, there is a lot of new content, so enjoy that. The tagboard is once again on the side. Now, that's it for site stuff!<br><br>
My ITBS tests are finished. The first day I got a REALLY REALLY bad headache so I went home early. I got stressed out on the second day over my math problems because I absolutely, postively SUCK at math. But that's all done now. The ITBS tests are, by the way, the Iowa Test of Basic Skills, and the scores I get on them determine what colleges I can go to. I've been taking the test every year since third grade, so I'm used to it. In high school I get to take the ITED, Iowa Test of Elementary something. I don't know what the D stands for. Funfunfun. Oh, BTW, here are the classes I'm taking in high school:<br><br>
Physical Education-Lifetime Fitness (required)<br>
Language Arts-Freshman Honors English<br>
Language Arts-Freshman Honors English<br>
Social Studies-American Studies (Required. I couldn't choose what I wanted. *mutters* jerks.)<br>
Math-Algebra (I was recommended for Algebra. Good, I don't want geometry. It sounds haaaaaaaaarrrrddddd!!!)<br>
Math-Algebra<br>
Science-Earth Materials (I was recommended for both of my science classes. Wasn't good enough for Molecular Biology. Another good thing, I got C+ for my science semester grade)<br>
Science-Weather/Climate/Space<br>
Elective-Marching band (if you take band, it's all year, marching included. BAND IS TAKING UP ALL MY ELECTIVES!!!!)<br>
Elective-Band<br>
Elective-Band<br>
Elective-Band<br>
Elective-Spanish 2<br>
Elective-Spanish 2<br>
Elective-Introduction to Acting<br><br>
Elective Alternates:<br><br>
Elective-Photography<br>
Elective-Child Development (That doll!!!!)<br><br>
Each time a class is listed means I have it for one quarter. So, first quarter, I have Earth Materials (or the other class), and then next quarter I have the next class. I suppose the second semester I choose new classes for that half of the year, except for band. Or something like that. I should ask my brother. Which reminds me, Nathan's brithday has his 16 birthday on the 10. I have no clue what to give him, and I'm on a budget. Any suggestions?<br><br>
Speaking of birthdays, on Saturday I went to my friend Sarah Beier's birthday. We went swimming at the YMCA, I gave her $10. And I now have a DeviantART account, you can go there to see new art of mine faster: <a href="http://www.ellethwen.deviantart.com" target="_new">Click here</a href> to visit it. That's it for today!<br><br>
-New layout<br>
-Site converted to PHP<br>
-16 birthday gift ideas?<br>
-ITBS test finished!<br>
Icon from <a href="http://www.secret-whispers.com" target="_new">Secret-Whispers.com</a href>
</div>
</BODY>
</HTML>
And here's my index.php file:
Code:
<? include("/home/fantasyw/public_html/illuminations/header.php"); ?>
<? include("/home/fantasyw/public_html/illuminations/footer.php"); ?>
So how do I change the content on every page?