21,891
社区成员
发帖
与我相关
我的任务
分享 $brandSql = $sql . " group by Brand_ID";
$res = $conn->query($brandSql);
while($row = $res->fetch(PDO::FETCH_ASSOC)) {
echo '<a href="selection.php?brandId=' . $row['Brand_ID'] . '">' . $row['Brand_Name'] . '</a>';
}