i may select one or more category....
<?php
include('db.php');
$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/>
</form>
<div id="load">
</div>
chaitu11 0 Junior Poster
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.