PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of David Barnes   PHP Movie Listings   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: PHP Movie Listings
Get list of movie presentations in near theatres
Author: By
Last change:
Date: 17 years ago
Size: 630 bytes


Class file image Download
// This is a simple example of how to use the movie listing class
// There is also an attached example .css file, customize this to customize the look of the listings
<link rel="stylesheet" type="text/css" href="example.css">
// Require the class file
// Create object
$listings = new phpMovieListings('04105','images/'); // Replace 04105 with your zip code, and change images/ to the folder where you will keep the images

// echo the listings
echo $listings->showListings();