Re: help again

From: Date: Fri, 31 Aug 2001 18:00:39 +0000
Subject: Re: help again
Groups: php.general 
Request: Send a blank email to php-general+get-65531@lists.php.net to get a copy of this message
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" <ahristov@icygen.com> wrote: ><html> ><head> ><title>PHP Test</title> ></head> ><body> ><?php >$beer = 'Heineken'; >echo "<h1>$beer's taste is great</h1>"; >?> ></body> ></html> > >Andrey Hristov >IcyGEN Corporation >http://www.icygen.com >BALANCED SOLUTIONS > > >----- Original Message ----- >From: "Nikola Veber" <veber@ptt.yu> >To: "php forum" <php-general@lists.php.net> >Sent: Friday, August 31, 2001 7:38 PM >Subject: [PHP] help again > > >> I am having big troubles here. I wrote this code just as it said in the manual, and >> it prints >> "{$beer}'s taste is great";?> >> >> <html> >> <head> >> <title>PHP Test</title> >> </head> >> <body> >> <?php >> $beer = 'Heineken'; >> echo <h1>"{$beer}'s taste is great"</h1>; >> ?> >> </body> >> </html> >> >> and if I don't put string into <h1> it prints nothing ! >> >> I'm kind of confused right now ... >> >> (win98, opera 5.12, php installed with installShield) >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >> For additional commands, e-mail: php-general-help@lists.php.net >> To contact the list administrators, e-mail: php-list-admin@lists.php.net >> >> > >

« previous php.general (#65531) next »