Login   Register  
PHP Classes
elePHPant
Icontem

File: Example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Angelos Staboulis  >  Digital Clock  >  Example.php  >  Download  
File: Example.php
Role: Example script
Content type: text/plain
Description: Example-PHP Digital Clock
Class: Digital Clock
Display a clock that updates time automatically
Author: By
Last change: Change Filename
Date: 2012-03-08 12:45
Size: 399 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
<?php
 
// put your code here
 
include("DigitalClock.php");
 
$clock=new DigitalClock();
 echo 
$clock->getHours().":".$clock->getMinutes().":".$clock->getSeconds();
 echo 
$clock->jsDigitalClock(300300);
?>
    </body>
</html>