steve_php2
public php v1 · immutableinclude( "CMSClass.php" ); //This section of code attempts to fetch the pages content //from the CMS system, by including the CMSClass.php file //at the top of this file we create a CMS object we can acces //via $CMS echo ("About to call CMS->getPageContent<br/>\n"); $myContent = $CMS->getPageContent('index_php', $error); if ( $error == true ){ echo('<div class="error">There were errors:</div>'); } echo $myContent;?>