PHP Classes

File: example/time.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas   Auto Ajax   example/time.php   Download  
File: example/time.php
Role: Example script
Content type: text/plain
Description: Example
Class: Auto Ajax
Update page parts with AJAX when links are clicked
Author: By
Last change: * Fixing bug in php4
Date: 16 years ago
Size: 324 bytes
 

Contents

Class file image Download
<?php
include_once("definition.php"); /* auto-ajax definition */
global $ajax; /* Important, always do this, because this page will be include */
$ajax->destiny("bottom"); /* the ajax destination of this page */
$ajax->start();//the page start here

?>
Right now is <?=date("Y/m/d H:i:s");?>
<?php
$ajax
->end();
?>