這是我目前的PHP腳本來顯示錶榜上我不斷收到我的網頁上有錯誤,當我嘗試添加PHP錯誤合併單元格=「2」伸展頭與次合併單元格
$data = mysql_query("SELECT * FROM `standings` WHERE division = 1 ORDER BY TotalPoints DESC;")
or die(mysql_error());
Print "<table border cellpadding=10 width=500>";
Print "<tr><th colspan="2">CONLEY</th></tr>";
Print "<tr><th>Team Members</th><th>Points</th></tr>";
while($info = mysql_fetch_array($data))
{
Print " <td>".$info['TeamMembers'] . "</td> ";
Print " <td>".$info['TotalPoints'] . "</td> </tr>";
}
Print "</table>";
發佈實際的錯誤消息可能會幫助我們查明您的問題。你還想在哪裏添加'colspan =「2」'位?請更具體一些。 – Oldskool 2012-02-12 21:18:11