prepare("SELECT * FROM brand_name WHERE district_id = $id ORDER BY id ASC ");
$statement2->execute();
$result2 = $statement2->fetchAll(PDO::FETCH_ASSOC);
foreach ($result2 as $row2) {
$brand_id = $row2['id'];
?>
prepare("SELECT * FROM brand_detail WHERE district_id = $brand_id ORDER BY id ASC ");
$statement3->execute();
$result3 = $statement3->fetchAll(PDO::FETCH_ASSOC);
foreach ($result3 as $row3) {
?>