不在让你为你写代码头疼的链接页代码
2013-10-09 22:09 F-lower 阅读(166) 评论(0) 编辑 收藏 举报家视野家居商城欢迎您!http://www.jiashiye.com
<?php
include "../include/head.php";
include "../include/cn.php";
?>
<body>
<?php
$q=$_GET["q"];
$sql="select * from product_class where pid=$q";
$rs=mysql_query($sql);
echo "<select name='title2'>";
echo "<option>--请选择二级类名称--</option>";
while($row=mysql_fetch_array($rs))
{
echo "<option value=".$row["id"].">".$row["title"]."</option>";
}
echo"</select>";
?>
</body>
</html>