For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > July 2004 > Quick_form









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Quick_form
Sa

2004-07-31, 3:55 pm

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?



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com