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@xxxxxxx>
To: php-general@xxxxxxxxxxxxx,Paul Williams <retched@xxxxxxxxxxx>
CC: ceo@xxxxxxxxx
Subject: Re: 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@xxxxxxxxxxx>; Wed, 09 Nov 2005 09:48:55 -0500
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
Return-Path: <ramsey@xxxxxxx>
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@xxxxxxxxxxxxx>
<BAY103-F259A00E2EAE61BF697BE25A6670@xxxxxxx>
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/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php