<!-- TABLE: LATEST ORDERS --> <div class="box box-info"> <!-- /.box-header --> <div class="box-body"> <div class="table-responsive"> <!-- /.box-header --> <!-- form start --> <form role="form" method="post" action="addProduct.php" enctype="multipart/form-data"> <div class="form-group"> <label for="exampleInputEmail1">Clothing Types</label> <select name="clothing_type_id" id="clothing_type_id"> <option value="">Select Clothing Type</option> <?php $clothing_types = getAllClothingTypes(); if ($clothing_types > 0) { while ($clothing_type = mysql_fetch_array($clothing_types)) { ?> <option value="<?php echo $clothing_type['clothing_type_id']; ?> "><?php echo $clothing_type['Clothing_type_name']; ?> </option> <?php } } ?> </select>
<div class="box-body"> <div class="table-responsive"> <table class="table no-margin"> <thead> <tr> <th>Clothing Type Id</th> <th>Name</th> <th>Gender</th> <th>Status</th> <th>Created At</th> <th>Actions</th> </tr> </thead> <tbody> <?php $result = getAllClothingTypes(); if ($result > 0) { while ($topmenu = mysql_fetch_array($result)) { ?> <tr> <td><?php echo $topmenu['clothing_type_id']; ?> </td> <td><?php echo $topmenu['Clothing_type_name']; ?> </td> <td> <?php if ($topmenu['clothing_type_gender'] == 'male') {