php 查询mysql得到的数据如何传入表单
html>
<head>
<?php
require_once('connect.php');
$query=mysql_query('select * from jobs');
while($row=mysql_fetch_assoc($query)){
echo $row['serial'].$row['time'].$row['address'].$row['job'].$row['num'].$row['salary'].'<br/>';
}
?>
</head>
<body>
<?php
foreach($rows as $values){
?>
<table>
<tr>
<td><?php $values['serial'] ?></td>
</tr>
</table>
</body>
</html>
这个哪错了??????