<html>
<! For1.php                                                   >
<! Chapter 4, Oracle Database XE PHP Web Programming          >
<! by Michael McLaughlin                                      >
<!                                                            >
<! This script demonstrates a stanard for loop.               >
<head>
<title>
  Demonstrate a for loop.
</title>
</head>
<body>
<?php
  // Declare a variable.
  $myVar = 0;

  // Start a loop until a condition is met.
  for ($i = $myVar;$i < 5;$i++)
  {
    // Print $myVar.
    print "\$i [".$i."]<br>\n";
  }

?>
</body>
</html>
