I wouldn't break it up into 3 lines of code. try:

print "<Input type=\"text\" name=\"foo\" value=\"$Foo\">";

or 

echo '<input type="text" name="foo" value="'.$Foo.'">';


Jeff


----- Original Message ----- 
From: "Todd Barr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 8:59 AM
Subject: [PHP] Html forms


I am having difficulty putting results into an form

Once the query runs, I have this for my output

print "<Input type=text name=foo value=";
print $Foo;
print ">";

This results in an HTML error 

being apache finds an error AFTER the </html> tag

Any ideas?



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

Reply via email to