我正在尝试在 html 表中显示一些 PHP 生成的内容,该文件是一个 PHP 文件,而我目前拥有的不起作用的代码是:
<?php
echo '<table>';
{
echo '<tr>';
echo "<td width="30"></td>";
echo "<td width="330" valign="top">{<div class="vpolls" id="vp_1"><div
class="vpdt"></div>Do you agree with the proposed new system of collecting Council Tax?
<form action="http://tk5solutions.com/vpoll/vpoll.php" id="vpf1" method="post"
onsubmit="return votePoll(this);">
<input type="hidden" name="idp" value="1"><label for="p1i0"><p><input type="radio"
name="item" value="Yes" id="p1i0" />Yes</label>
<label for="p1i1"><input type="radio"
name="item" value="No" id="p1i1" />No</label>
<label for="p1i2"><input type="radio"
name="item" value="Undecided" id="p1i2" />
Undecided</label>
<input type="submit"
value="Vote" name="sbm" /> </p>
</form>
</div>}</td>";
echo "<td width="330" valign="top">include('vpoll/vpoll.php');
echo '<div class="vpolls">'. $obVot->showPoll(1) .'</div>';
</td>";
echo '</tr>';
}
echo '</table>';
?>
谁能告诉我如何让它工作,或者如何并排显示两组数据(它们都在框框中)。