$dbs_base_path = "./"; require_once $dbs_base_path . 'config.php'; include 'callme.php'; $newsid = abs((int) $_GET['idspro']); $query203 = "SELECT * FROM duoin_catalogproduk WHERE product_id ='$newsid' AND post_status='publish' ORDER BY product_id DESC" ; $result203 = mysql_query($query203); while($listpkuh=mysql_fetch_array($result203)) { $idsID=$listpkuh['product_id']; $ids_catalogids=$listpkuh['ctlog_ids']; $ids_productname=$listpkuh['product_name']; $ids_description=$listpkuh['product_description']; $ids_product_link=$listpkuh['product_link']; $ids_poststatus=$listpkuh['post_status']; $ids_tag=$listpkuh['tag']; $ids_postdate=$listpkuh['post_date']; $sqlwed=mysql_query("SELECT * FROM duoin_catalogprodukimg where product_id='$idsID' ORDER BY imgpro_ids DESC"); while($rwed=mysql_fetch_array($sqlwed)) { $idsimg=$rwed['imgpro_ids']; $prodisimg=$rwed['post_images']; $prodisimgthumb=$rwed['post_thumb']; } } ?>