PHP Classes

File: banner.php

Recommend this page to a friend!
  Classes of Usman Didi Khamdani   Image Banner Class   banner.php   Download  
File: banner.php
Role: Example script
Content type: text/plain
Description: banner page
Class: Image Banner Class
Display rotating banners from a MySQL database
Author: By
Last change: notes of author
Date: 14 years ago
Size: 386 bytes
 

Contents

Class file image Download
<?php

/*
author: usman didi khamdani
author's email: usmankhamdani@gmail.com
author's phone: +6287883919293
*/

include('image_banner.class.php');
$banner = new ImageBanner;

$error = '<h3 style="color:#ff0000">Access Denied</h3>';
$not_found = '<h3 style="color:#ff0000">Data is not found or has been removed</h3>';

echo
$banner->BannerPage($error,$not_found);

?>