不在让你为你写代码头疼的链接页代码

家视野家居商城欢迎您!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>

原文地址:https://www.cnblogs.com/F-lower/p/3360236.html