——此文章摘自《完全手册PHP网络开发详解》定价
¥
特价
¥
详细>>http://track
linktech
cn/?m_id=dangdang&a_id=A
&l=
&l_type
=
width=
height=
border=
nosave>
<body>
<p align=center class=style>类别管理</p>
<p align=center class=style><span class=style><a href=indexphp>
返回首页</a></span></p>
<table width= border= align=center cellpadding= cellspacing=>
<tr>
<td><div align=center><strong>类别编号</strong></div></td>
<td><strong>类别名称</strong></td>
<td><div align=center> </div></td>
</tr>
<?php do { ?>
<tr>
<td><div align=center><a href=?type_id=<?php echo $row_rs_all_types
[type_id]; ?>><?php echo $row_rs_all_types[type_id]; ?></a></div></td>
<td><a href=?type_id=<?php echo $row_rs_all_types[type_id]; ?>><?php
echo $row_rs_all_types[type_name]; ?></a></td>
<td><div align=center><a onClick=javascript:return confirm(确定要删
除吗?); href=?MM_delete=<?php echo
$row_rs_all_types[type_id]; ?>>删除</a></div></td>
</tr>
<?php } while ($row_rs_all_types = mysql_fetch_assoc($rs_all_types)); ?>
</table>
<p> </p>
<form method=post name=form action=?>
<table align=center>
<tr valign=baseline>
<td nowrap align=right>类别编号</td>
<td><input type=text name=new_type_id value=<?php echo $row_rs_upt
_type_id; ?> size=></td>
</tr>
<tr valign=baseline>
<td nowrap align=right>类别名称</td>
<td><input type=text name=type_name value=<?php echo $row_rs_upt
_type_name; ?> size=></td>
</tr>
<tr valign=baseline>
<td nowrap align=right> </td>
<td><input name=submit type=submit value=更新类别></td>
</tr>
</table>
<input type=hidden name=MM_update value=form>
<input type=hidden name=type_id value=<?php echo $row_rs_upt_type
[type_id]; ?>>
</form>
<p> </p>
<form method=post name=form action=?>
<table align=center>
<tr valign=baseline>
<td nowrap align=right>新类别名称</td>
<td><input type=text name=type_name value= size=></td>
</tr>
<tr valign=baseline>
<td nowrap align=right> </td>
right>[http://developcsaicn/web/htm>] [http://developcsaicn/web/htm>] [http://developcsaicn/web/htm>] [] [http://developcsaicn/web/htm>]