1) { $pageno--; $row=mysql_query("select * from tb_product $condition1 order by position Desc LIMIT ".(($pageno-1)*$perpagesize).", ".$perpagesize); } $total=total(tb_product,$condition); ?> Category"; while($rowcat = mysql_fetch_array($cat)) { //echo $maincat_id; exit; $category= $category.("") ; } function getCategory($id) { $result=mysql_query("SELECT category_name FROM tb_category where category_id='".$id."' order by position asc"); $row=mysql_fetch_row($result); return $row[0]; } ?>

Add Gold product

*

*

*

Manage Gold product

  
class="odd">
Serial No: Category Title Thumb Image Position Action
'.getCategory($result1['category_id']); } echo $ck; ?>

View / Edit Delete