include("include/db_product.php"); $call = new clsProduct(); if ( $_GET['PID'] <> "" ) { $txt_productId = $_GET['PID']; $result=$call->get_product_row($txt_productId); if(mysqli_num_rows($result)){ if($result){ $row = mysqli_fetch_array($result); $txt_productId = $row['productId']; $txt_categoryId = $row['categoryId']; $txt_productName = $row['productName']; $txt_productSpec = $row['productSpec']; $txt_productTitle = $row['productTitle']; $txt_productDetail = $row['productDetail']; $txt_productPrice = $row['productPrice']; $txt_fileName = $row['fileName']; $txt_status = $row['status']; $txt_promotion = $row['promotion']; $txt_popular = $row['popular']; $txt_viewCount = $row['viewCount']; $txt_seoTitle = $row['seoTitle']; $txt_seoDesc = $row['seoDesc']; $txt_seoKeyword = $row['seoKeyword']; $upddateBy = $row['upddateBy']; $updateDate = $row['updateDate']; } } } ?>