On this side, I'm going to attempt images with the include function.
This year for vacation we went to visit my son Michael in California.Joey is letting me take a photo of
him at the airport as we are waiting for the airplane. He doesn't look too thrilled with me.
In the distance Mike
is waiting for the plane. I think he was a bit nervous flying because he hasn't flown in over 25 years.
Adam doesn't usually look too awake first thing in the morning. He loves to sleep, and having to wake up
super early in order to catch our flight to California, he wasn't really awake yet.
By the time we got to California everyone was pretty hungry so we stopped in Denny's to have our lunch. It was really
great to see Michale and to spend time with him.
When we had finished eating Michael took us all to La Jolla California. It was so beautifull here. We walked through a nature
path that took us to cliffs over looking the ocean.
In this photo Michael, Mike, Adam and Joey were standing on a cliff so that I could get their photo. Of course I was very nervous
with them standing on the cliff. Fear of one of the boys jokingly pushing one of the others and having them fall down the cliff.
La Jolla California has really beautiful places to view the ocean from. We had arrived at this spot around sunset, so it was an excellent
photo opportunity.
11th 2008f October 2008 08:15:49 PM
This is the index page of our first week of php classes. I'm sure I am getting in over my head with this, but I am going to give it a try. Even if I don't get this down, maybe it will help me in my css learning.
If I can at least grasp some of this, it will make css easier to learn, maybe?
Each photo on the left is called in by a php include. This was the easiest part of the markup. My problem was in getting the photos to cooperate with me and to fall under each other. I used the alsett clearning method in my wrapper div, and figured that would solve all clearning problems. I was wrong. What I had to do was use the clear: both; in the class for the photo in order to get it to clear.
The reason why I used clear: both; instead of clear left of right is in case I decide to rearange my layout, I don't have to mess with the style code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>php first try</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="en-us" />
<link rel="stylesheet" href="styles/phptry.css" type="text/css" />
</head>
<body>
<div id="wrapper"><!--open wrapper div-->
<div id="header"><!--open header div-->
<!--close header div--></div>
<div id="navheader"><!--open header navigation-->
<!--close header navigation--></div>
<h1>My First PHP Script</h1>
<p>The following will be printed using the echo statement.</p>
<?
echo "<p>Hi! This is my first PHP script.</p>";
//this will print out the above sentence in html and this is a php comment.
?>
<p>See how easy that was?</p>
<p>Now on to the next parts of the lesson, if they will only be as easy! lol!</p>
<p>The reason the code is able to be viewed is due to a function called show_source.
Pretty interesting function!</p>
<div id="source"><!--open source code div-->
<h1>Source Code</h1>
<code>
<?
show_source("myfirst.php");
?>
</code>
<!--close source code div--></div>
<div id="footer"><!--open footer div-->
Copyright © Debbie Riendeau and its licensor's. All rights reserved
<!--close footer div--></div>
<!--close wrapper div--></div>
</body>
</html>