PHP Classes

File: examples/example1.php

Recommend this page to a friend!
  Classes of Barton Phillips  >  PHP Site Class  >  examples/example1.php  >  Download  
File: examples/example1.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Site Class
Create database driven Web sites
Author: By
Last change: Update of examples/example1.php
Date: 6 months ago
Size: 340 bytes


Class file image Download
// example1.php


$siteinfo = array(
'siteDomain' => "localhost",
'siteName' => "Example1",
'copyright' => "2016 Barton L. Phillips",

$S = new SiteClass($siteinfo);

$top, $footer) = $S->getPageTopBottom();
echo <<<EOF
<h1>Example 1</h1>
<p>Hello World</p>

For more information send a message to info at phpclasses dot org.