0
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>

Edited by chaitu11

2
Contributors
2
Replies
21
Views
3 Years
Discussion Span
Last Post by chaitu11
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.