flowers

Welcome to my page for week one of PHP

An example of using a variable multiple times.

John Jacob Jingleheimer Schmidt
His name is my name, too!
Whenever we go out,
The people always shout
There goes John Jacob Jingleheimer Schmidt!
Da da da da da da da

An example of using the date function.

The time and date is:
1:25 pm EST, Tuesday, February 7, 2012

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Intro to PHP</title>
<link href="phpindex.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="container" class="seventyopacity">

<div id="head">
<h1>INTRODUCTION TO PHP - WEEK 1</h1>
</div>

<?php
// include the navigation menu
include("navigation.inc");
?>

<div id="content">

<?php
//include flower photo
include("photoflower.inc");
?>

<?php
//declare a variable for the name in the song
$name "John Jacob Jingleheimer Schmidt";
?>

<?php
print "<h3>Welcome to my page for week one of PHP</h3>";
?>
<h4 style="font-style: italic;">An example of using a variable multiple times.</h4>

<p><?=$name?><br />
His name is my name, too!<br />Whenever we go out,<br />
The people always shout<br />There goes <?=$name?>!<br />
Da da da da da da da</p>

<h4 style="font-style: italic;">An example of using the date function.</h4>
<p>The time and date is:<br />
<?php
echo date("g:i a T, l, F j, Y");
?></p>

</div>

<div id="foot"></div>

</div>

<?php
show_source
("phpwk1.php");
?>

</body>
</html>