PHP Classes

File: newsbox.php

Recommend this page to a friend!
  Classes of Russell Nash   News Box   newsbox.php   Download  
File: newsbox.php
Role: Application script
Content type: text/plain
Description: newsbox.php
Class: News Box
Display random news items stored in a file
Author: By
Last change:
Date: 17 years ago
Size: 189 bytes
 

Contents

Class file image Download
<?php
include 'newsbox.class.php';
$news = new Newsbox();
if(isset(
$_GET) && $_GET['disp'] == 'ajax') {
    echo
$news->DisplayNewsbox();
} else {
    return
$news->DisplayNewsbox();
}
?>