0){ $start=$_REQUEST[offset]-1; }else{ $start=0; } /*if($_REQUEST[offset]<=0){ $off = 0; }else{ $off = $_REQUEST[offset] - 1; }*/ $sql = "select * from tbl_product where int_category_id=$category and bit_active=1"; //Query to fetch all the Products $result = mysql_query($sql); $count=mysql_num_rows($result); if(mysql_num_rows($result)>0){ $product_id=mysql_result($result,0,int_product_id); $product_code=mysql_result($result,0,str_product_code); $product_name=mysql_result($result,0,str_product_name); $product_quantity=mysql_result($result,0,int_quantity); $product_price=mysql_result($result,0,dec_price); $product_thumb=mysql_result($result,0,str_thumb_image_filename); } //die("no of rows ".mysql_num_rows($result)); ?>
0)) //echo ("hai"); //$img = str_replace(" ",'_',mysql_result($resul3,0,'str_category_name')); //$img_name = $img.'.jpg'; $heading=mysql_result($resul3,0,'str_category_name'); ?>

  

0){ echo(""); for($i=$start;$i"; $sql1="select *from tbl_product where int_category_id=$category and bit_active=1"; $result1=mysql_query($sql1); if(mysql_num_rows($result1)>0){ $thumb=mysql_result($result1,$i,str_thumb_image_filename); $product_name=mysql_result($result1,$i,str_product_name); $sub_product= substr($product_name,0,15); $product_id= mysql_result($result1,$i,int_product_id); $product_price= mysql_result($result1,$i,dec_price); $product_thumb=mysql_result($result1,$i,str_thumb_image_filename); $product_image=mysql_result($result,$i,str_image_filename ); }?>
=15) echo "..."; ?>
More Info    

"); }else{?>
No Records Found