On Wed, 13 Feb 2002, Steven Walker wrote:

> <?$name = "Steven Walker"?>
> <form name="form1" method="post" action="infocollect.php">
>       <input type="text" name="name" value=<?echo "$name";?>>
> </form>
> In the browser, the name field is only filled with "Steven", and drops
> off everything after the space. If I echo $name outside of the form it

You need to put quotes around the value.
value="<?echo $name;?>"?

        ~Chris                           /"\
                                         \ /     September 11, 2001
                                          X      We Are All New Yorkers
                                         / \     rm -rf /bin/laden

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

Reply via email to