Always use htmlspecialchars() on form value fields and any data you put into the 
<title> tags.

-----Original Message-----
From: Steven Walker [mailto:[EMAIL PROTECTED]] 

<?$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 
prints fine.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to