<?php$con=array(array(1,'高某','A公司','北京市','010','abc'),array(2,'罗某','B公司','天津市','020','bcd'),array(3,'冯某','C公司','上海市','021','cdf'),array(4,'书某','D公司','重庆市','022','dfg'));echo '<table border="1" width="600" align="center">';echo '<caption><h1>员工表</h1></caption>';echo '<tr bgcolor="#ff0000">';echo '<th>编号</th><th>姓名</th><th>公司</th><th>地址</th><th>电话</th><th>邮箱</th>';echo '<tr></tr>';for($row=0;$row<count($con);$row++){echo '</tr>';for($col=0;$col<count($con[$row]);$col++){echo '<td>'.$con[$row][$col].'</td>';}echo '</tr>';}echo '</table>'; ?>