Menu
Hello,
I want to use both the tables and the HTML_QuickForm. But how can I combine these two ? I use the following code but both elements show in the same cell.
<?php
require_once “HTML/QuickForm.php”;
$form = new HTML_QuickForm(“frmTest”,”post”,””);
echo “<table border =1><tr><td>”;
$form->addElement(‘header’,’myheader’,’test’);
echo “</td></tr>”;
echo “<tr><td>”;
$form->addElement(‘text’,’mytext’,’test’);
$form->display();
echo “</td></tr>”;
echo “</table>”;
?>