Re: Html forms
| From: | Jeff Pauls | Date: | Mon, 03 Feb 2003 17:21:44 +0000 |
| Subject: | Re: Html forms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134148@lists.php.net to get a copy of this message | ||
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" <tbarr@geo-imaging.com>
To: <php-general@lists.php.net>
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?