Ejemplo n.º 1
0
                <td><?php 
            echo $name;
            ?>
</td>
                <td><?php 
            echo date('l, F j, Y', strtotime($date));
            ?>
</td>
            </tr>    
            <?php 
        }
        ?>
        </table>
        
        <?php 
        $holidays->setObservances(false);
        ?>
        <h2>Actual Dates</h2>
        <table>
            <tr>
                <th>Holiday</th>
                <th>Date</th>
            </tr>
            <?php 
        foreach ($holidays as $name => $date) {
            ?>
            <tr>
                <td><?php 
            echo $name;
            ?>
</td>