Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
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.Code: Select all
<?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>";
?>feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]