--- Sunfire <[EMAIL PROTECTED]> 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

You are "missing" correct PHP syntax and correct HTML
syntax, so I guess that counts as something.

Try this:

<input type="text" name="foo" value="<? echo $foo; ?>">

or this:

<?
echo "<input type=\"text\" name=\"foo\" value=\"$foo\">";
?>

Chris

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

Reply via email to