RE: [PHP] Parse Error... how to fix?

From: Date: Thu, 16 Dec 2004 19:59:16 +0000
Subject: RE: [PHP] Parse Error... how to fix?
Groups: php.general 
Request: Send a blank email to php-general+get-204534@lists.php.net to get a copy of this message
Richard Lynch <mailto:ceo@l-i-e.com> on Thursday, December 16, 2004 10:46 AM said: >> "<TITLE> $language['program_name'] </TITLE>\n" . > > #1. Get rid of the ''s around program_name. Those won't work inside > of ""s. echo "<title>{$language['program_name']}</title>\n"; http://us2.php.net/manual/en/language.types.array.php > #3. Just break out of PHP for anything more than two lines of HTML. ...or use heredoc syntax. http://us2.php.net/manual/en/language.types.string.php#language.types.st ring.syntax.heredoc Chris.

« previous php.general (#204534) next »