Re: RE: [PHP] Variable Problem

From: Date: Wed, 05 Feb 2003 22:44:41 +0000
Subject: Re: RE: [PHP] Variable Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134504@lists.php.net to get a copy of this message
--- Sunfire <rusty_81@msn.com> wrote: > you can do: > echo <<<BLOCK > //any valid html code here > <input type="sent" value=\"sent\"> > BLOCK; No, he needed to output $sent, which is dynamic. Also, it is a lot cleaner (and likely faster) just to use <? (or <?php) and ?> to switch in/out of PHP as needed. If you're writing a bunch of static HTML, there's no reason to be using PHP to do it. Chris

« previous php.general (#134504) next »