<table>
<?php
while($rs = mysql_fetch_array($result)){
?>
<tr><td><?php echo "$rs[name]"?></td><td><?php echo "$rs[qq]"?></td><td><?php echo "$rs[tel]"?></td></tr>
<?php }?>
</table>
不可以在PHP页面调用CSS,只能在HTML等浏览器脚本页面调用,你的PHP代码可以同样写在BODY部分<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/htmlcharset=utf-8"/>
<title>Test</title>
<link rel="stylesheet" href="some.css" type="text/css" />
</head>
<body>
<?php
?>
</body>
</html>