<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>修改管理组权限页面</title>
</head>
<body>
<form action="" method="POST">
<table border="1" align="center" width="600">
<tr>
<th>ID</th>
<th>Title</th>
<th>Status</th>
<th>Rules</th>
</tr>
<foreach name="result" item="vo">
<tr>
<td><{$vo.id}></td>
<td><{$vo.title}></td>
<td><{$vo.status}></td>
<td><{$vo.rules}></td>
</tr>
</foreach>
</table>
</form>
</body>
</html>
在控制器里print_r($result)看一下
showgroup页面的确是按你给的代码来着呢,
但是modgroup你应该另外写了,这里就不应该有foreach了吧
把查询语句find 改成select