fetch_array("select distinct productname from products"); if ($xxx!=-1) { for ($i=0;$i fetch_array("select * from products where idx=".$idx); //$img = existImage('product_'.$data[0][idx], 'product_img/'); //$imgsize = getimagesize($img); //if ($imgsize[0]>400) $imgsize[0]=400; if ($pn==null) $pn = $xxx[0][productname]; } ?>



"; } else { //$listing = listing($page, $total); //$qry = "select * from products".$subqry." order by idx desc limit ".$listing[start_no].", ".$listing[pagesize]; $qry = "select * from products".$subqry." order by idx desc"; $rows = $conn->fetch_array($qry); for($i=0; $i400) $imgsize[0]=400; ?>
fetch_total($qry, 'total'); if ($total == 0) { echo "
µî·ÏµÈ ³»¿ëÀÌ ¾ø½À´Ï´Ù