<?php $id = $_GET["c_id"]; require_once '../Model/dbclass.php'; $dbObj = new Model_DBClass(); $getCat = "SELECT * FROM sub_category_master WHERE status = 1 AND parent_category_id={$id} ORDER BY sub_category_name"; $resultCat = $dbObj->doQuery($getCat); $num = $dbObj->numRows($resultCat); if ($num > 0) { ?> <select name="sub_cat_id" id="sub_cat_id" class="input_field" style="width:365px"> <option value="0">Select Sub-Category</option> <?php while ($rowCat = $dbObj->fetchObject($resultCat)) { ?> <option value="<?php echo $rowCat->sub_category_id; ?> "><?php echo ucfirst($rowCat->sub_category_name); ?> </option> <?php } ?> </select> <?php } ?>
<?php error_reporting(0); session_start(); $route = $_GET["route"]; $option = $_GET["option"]; require_once 'Model/dbclass.php'; require_once 'Model/functions.php'; $dbObj = new Model_DBClass(); ?> <!DOCTYPE html> <html lang="en"><head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="Description" content="Fashion design house, manufacturer and retailer of fashion wear, fashion accessories, home textiles, handicraft, and hand loom based products of Bangladesh" /> <meta name="robots" content="default, follow" /> <meta name="author" content="Administrator" /> <meta name="googlebot" content="noodp" /> <meta name="application-name" content=">eCommerce" /> <title>E-Commerce || Clothes store,Boutique</title> <link rel="Shortcut Icon" href="http://shashangka.com/Resources/ico/fvicon.png" /> <!--======================menu link start========================--> <link href="Style/global_style.css" rel="stylesheet" type="text/css" /> <link href="Style/layout_style.css" rel="stylesheet" type="text/css" /> <link href="Style/font.css" rel="stylesheet" type="text/css" /> <link href="Style/default_style.css" rel="stylesheet" type="text/css" /> <!--======================menu link start========================--> <link rel="stylesheet" type="text/css" href="menu/ddsmoothmenu.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> <script type="text/javascript" src="menu/ddsmoothmenu.js"></script> <script type="text/javascript">