Quick_form

From: Date: Sat, 31 Jul 2004 13:01:28 +0000
Subject: Quick_form
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13923@lists.php.net to get a copy of this message
I have a problem with this simple example (only on server) <?php ini_set('include_path', 'PEAR/'); require_once "../incl/PEAR/HTML/QuickForm.php"; ?> <html> <head> </head> <body> <?php $form = new HTML_QuickForm('frmTest', 'get'); $form->addElement('header', 'MyHeader', 'Testing QuickForm'); $form->display(); ?> </body> </html> error: Notice: Array to string conversion in .../www/incl/PEAR/HTML/QuickForm/Renderer/Default.php on line 188 in HTML: <formArray> I haven't ideas what am I doing wrong?

« previous php.pear.general (#13923) next »