// $catresult=mysqli_query("select * from `eshop_category` ORDER BY catname ASC ");
$catresult=mysqli_query($con,"select * from `eshop_category` ORDER BY catname ASC");
// if(mysqli_num_rows($catresult)>0)
// {
while($catrow=mysqli_fetch_array($catresult))
{
$productresult=mysqli_query($con,"select * from `eshop_products` where `category`='$catrow[catid]'");
$productrow=mysqli_num_rows($productresult);
?>
( - Videos)
}
?> //} ?>
|