[QuickForm] add a html element into a group
| From: | Helder Miguel Rodrigues | Date: | Thu, 30 Dec 2004 02:40:35 +0000 |
| Subject: | [QuickForm] add a html element into a group | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16506@lists.php.net to get a copy of this message | ||
Hello, im having problems adding and html element into a group.
Basically, i have:
$formi[]=&$form->createElement('html',"<a href=\"s.php\">Search</a>");
$form->addGroup($formi,'form',"Search",' ');
Now, when i open the page with this code, the page shows "Array".
adding an html element into the form i have done already without problems, but with a group ai cant :(
It has to be in a group, because i want the link to be lined with the rest of the form.
Any tips please?
Thank you a lot!
Regards,
Helder