Converting ampersand in QuickForm
| From: | fluidliqatyahoodotcom | Date: | Sun, 06 Mar 2005 08:30:57 +0000 |
| Subject: | Converting ampersand in QuickForm | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17877@lists.php.net to get a copy of this message | ||
So i have something like this...
require_once "HTML/QuickForm.php";
$form = new HTML_QuickForm("form");
$form->addElement("text", "txtName", "Enter: ",
array("value" => "&");
$form->display();
Now yes, the value of the text element is an ampersand "&" in there. But the HTML is
converted to its entities &
Is there a way to have its HTML of the ampersand to be in its own character, "&",
rather than "&"?
I need this for a purpose.
Thanks
---------------------------------
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web