o etc if
you don't see that, then your installation is broken.
- Original Message -
From: "Nikola Veber" <[EMAIL PROTECTED]>
To: "Andrey Hristov" <[EMAIL PROTECTED]>; "php forum"
<[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 11:
The code of your's print's the following :
$beer's taste is great";?>
I'm not sure if there could be a problen in configuring PHP, since the only thing
I have done was making html page
containing this code.
8/31/01 6:42:02 PM, "Andrey Hristov" <[EMAIL PROTECTED]> wrote:
>
>
>PHP Test
>
>
>$
Sounds like you want to do :
$guiness = 'Thick and Creamy!';
$beer= 'guiness';
print ${$beer}; // Thick and Creamy!
Regards,
Philip Olson
On Fri, 31 Aug 2001, Nikola Veber wrote:
> I am having big troubles here. I wrote this code just as it said in the manual, and
> it prints
>
echo sends a literal string to the output and eventually evaluates variables
that are found inside, so it seems that your instruction should be:
echo "{$beer}'s taste is great";
Why it worked with outside, I guess because it was closing some former
tag in your code or something like that...
Ho
All you should need to do is echo "$beer's taste is great";
don't use the braces.
-Jbell
- Original Message -
From: "Nikola Veber" <[EMAIL PROTECTED]>
To: "php forum" <[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 9:38 AM
Subject: [PHP] help again
> I am having big troubles here. I
5 matches
Mail list logo