|
$sql = "SELECT * FROM db_product_group WHERE G_ID='".$_GET['g_id']."' AND G_STS='A' ";
$result = mysql_query($sql);
$res = mysql_fetch_assoc($result);
$G_VIEW_UPDATE = $res["G_VIEW"]+1;
$sql_update_view ="UPDATE db_product_group SET G_VIEW='".$G_VIEW_UPDATE."' WHERE G_ID='".$_GET['g_id']."' AND G_STS='A' ";
$result_update_view = mysql_query($sql_update_view);
?>
หมวดหมู่สินค้า : =$res['G_NAME'];?> |
|
|