if($_REQUEST[v]==""){
$sql="select catid,category from categorym where pcatid=0 order by catid limit 0,8";
}else{
$sql="select catid,category from categorym where pcatid=0 order by catid ";
}
$qry=mysqli_query($connect,$sql);
while($row=mysqli_fetch_array($qry)){
?>
if($_REQUEST[cid]==$row[catid]){
$subqry="select catid,category from categorym where pcatid='".$_REQUEST[cid]."'";
$subrow=mysqli_query($connect,$subqry);
$no=mysqli_num_rows($subrow);
if($no>0){
while($subdata=mysqli_fetch_array($subrow)){
?>
}}}}?>
|
|
|
|
Enquiry about the product |
|
|