On Thursday 06 February 2003 07:48, Sunfire wrote:
> 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

With the above you should end up with a parse error. The correct syntax which 
should work regardless of your server settings is:

  <input type="sent" value="<?php echo $sent; ?>">

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Don't worry.  Life's too long.
                -- Vincent Sardi, Jr.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to