i may select one or more category....
$sql = mysqli_query("select * from brandname where category = 'cloths' ");
while($row = mysqli_fetch_array($sql)){
    echo $row['brandname'];

<form action="checkbox.php" method="post">
Bags:<input type="checkbox" name="bags"  value="bags"><br/>
Cloths:<input type="checkbox" name="cloths"  value="cloths"><br/>
Bikes:<input type="checkbox" name="bike"  value="bike"><br/>
Shoes:<input type="checkbox" name="shoes"  value="shoes"><br/>

<div id="load">

You need js to do it see this sample

Thank you sooo much

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.