帮我看看一下的程序错在哪里,谢谢!
<html>
<head>
<title>在线投票!</title>
</head>
<body bgcolor="#0099FF" text="#666666">
<div align="center">
<form action="12.php" method="get" name="form">
<table width="75%" border="0" cellspacing="1" bgcolor="#FFFF00">
<tr bgcolor="#0099FF" align="center" valign="middle">
<td width="20%" height="30">添加投票项目</td>
<td width="65%" height="30">
<input type="text" name="item0" size="50%">
</td>
<td width="15%" height="30">
<input type="submit" name="Submit" value="添加">
</td>
</tr>
</table>
</form>
<br>
<table width="75%" border="0" cellspacing="1" bgcolor="#FFFF00" cellpadding="1">
<tr bgcolor="#0099FF" valign="bottom">
<td align="center" height="17"> 调查项目 </td>
<td align="center" height="17">开始时间 </td>
<td align="center" height="17"> 投票 </td>
</tr>
<?
$connect=mysql_connect('localhost','12','************'); //连接数据库
$select=mysql_select_db('name',$connect); //选择数据库
$query=mysql_query('select * from vote',$connect); //取出数据库
while ($array=mysql_fetch_array($query))
{printf("<tr bgcolor="#0099FF" valign="bottom"><td align="center" height="17">%s</td><td align="center" height="17">%s</td><td align="center" height="17">%s</td></tr>",$array[item],$array[time],$array[ballot]);}
?>
</table>
</div>
</body>
</html>
运行是程序提示我“Parse error: parse error in C:\apache\htdocs\try\ivote\7.php on line 34
”就是“</table>”请问该怎么改?