Re: Using the echo tag...
| From: | Paul Williams | Date: | Wed, 09 Nov 2005 14:51:29 +0000 |
| Subject: | Re: Using the echo tag... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225433@lists.php.net to get a copy of this message | ||
Alright cool that one worked. Do I have to include the curly braces in all calls to variables or just the superglobals?
Thank you.
Sincerely,
Paul Lee Williams III
From: Ben Ramsey <ramsey@php.net> To: php-general@lists.php.net,Paul Williams <retched@hotmail.com> CC: ceo@l-i-e.com Subject: Re: [PHP] Using the echo tag... Date: Wed, 09 Nov 2005 09:48:52 -0500 MIME-Version: 1.0 Received: from lists.php.net ([216.92.131.4]) by mc10-f41.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 9 Nov 2005 06:48:57 -0800 Received: from ([69.164.218.60:21029] helo=localhost.localdomain)by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTPid 16/ED-28724-75C02734 for <retched@hotmail.com>; Wed, 09 Nov 2005 09:48:55 -0500 X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8= Return-Path: <ramsey@php.net> X-Host-Fingerprint: 69.164.218.60 eycb01-00-cntnga-69-164-218-60.atlaga.adelphia.net User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en References: <21404.67.108.68.36.1131499512.squirrel@www.l-i-e.com> <BAY103-F259A00E2EAE61BF697BE25A6670@phx.gbl> X-Posted-By: 69.164.218.60 X-OriginalArrivalTime: 09 Nov 2005 14:48:57.0698 (UTC) FILETIME=[B6C35420:01C5E53C] On 11/9/05 9:45 AM, Paul Williams wrote:<?php print <<<EOF <HTML> $_SERVER['PHP_SELF'] </HTML> EOF; ?>Try it with curly braces: <?php print <<<EOF <HTML> {$_SERVER['PHP_SELF']} </HTML> EOF; ?> -- Ben Ramsey http://benramsey.com/