<html>
    <head>
        <title>PHP ClockLoop</title>
        <link rel="stylesheet" type="text/css" href="clock.css">
    </head>
    <body>
        <div class="bodyContainer">   
            <h1>Example 1: PHP clock</h1><hr/>
            <?php
            for ($i = 0; $i < 10; $i++) {
            ?>
            <div class="clockBorder" >
                <span class="clockFont">
                    <?php
                    //echo current time
                    //Format parameters: g hour, i minutes
                    //s seconds
                    echo date("G:i:s");
                    ?>
                </span>
            </div>
            <h3>Today is 
               <?php 
                  //add format string to produce date format
                  //"January 12, 2015";
                  echo date("F j, Y") 
               ?>
            </h3>
            <?php
            }
            ?>
        </div>
    </body>
</html>
