$deal_of_product=mysqli_query($conn,"select * from products where status = '1' order by id desc");
if(mysqli_num_rows($deal_of_product)>>0){
?>
$SNo = 0;
if($offset ==0)
{
$SNo = 0;
}
else
{
$SNo = $offset;
}
while($row_deal=mysqli_fetch_array($deal_of_product))
{
$SNo = $SNo + 1;
$product_id=$row_deal['id'];
$rcategory_id=$row_deal['rcategory_id'];
$product_name=$row_deal['product_name'];
$tags=$row_deal['tags'];
$image1=$row_deal['image1'];
?>
-
} ?>
} else { echo "No Products Found!!!"; } ?>