$id = $_GET['id'];
$sql = "select * from biao where pid=".$id;
$res = mysqli_query($conn,$sql);
$num = mysqli_num_rows($res); //现有量图片
$sql1 = "select * from biao where id=".$id;
$res1 = mysqli_query($conn,$sql1);
$row1 = mysqli_fetch_assoc($res1);
$num1 = $row1['p_num'];
$p_name = $row1['p_name'];
?>