on any server i ever dealt with if i put: <input type="sent" value=<?php\"$sent\"?>> in the edit box for the value i always always end up with <?php instead of what $sent stands for..the only way i found it to work is with echo <<< but maybe im missing something
----- Original Message ----- From: "Chris Shiflett" <[EMAIL PROTECTED]> To: "Sunfire" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 05, 2003 5:44 PM Subject: Spam: Re: RE: [PHP] Variable Problem > --- Sunfire <[EMAIL PROTECTED]> 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php