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