Re: Followup on blank line parse error

From: Date: Tue, 30 Apr 2002 05:32:02 +0000
Subject: Re: Followup on blank line parse error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95319@lists.php.net to get a copy of this message
function SetPageAuthor() seems to be missing a } :) Justin French on 30/04/02 3:19 PM, Ironfroggy (ironfroggy@yahoo.com) wrote: > <?php > > /* Standard Globals */ > $GLOBALS["PageTitle"] = "ironfroggy.com"; > $GLOBALS["SiteName"] = "www.ironfroggy.com"; > $GLOBALS["STD_PHP_Version"] = "1.0"; > $GLOBALS["PageAuthor"] = "ironfroggy"; > > function PageAuthor() { > echo $GLOBALS["PageAuthor"]; > } > > function SetPageAuthor($name) { > $GLOBALS["PageAuthor"] = $name; > > function PageTitle() { > echo $GLOBALS["PageTitle"]; > } > > function SetPageTitle($title) { > $GLOBALS["PageTitle"] = $title; > } > > /* Header/Footer functions */ > > function header_xhtml1() { > /* XHTML CODE FOLLOWS */ > echo "<?xml version=\"1.0\"?>"; > ?>

« previous php.general (#95319) next »