$sql
\n"); Return mysql_result($Query,0,"name"); } ############################################ function product_BrandName($BrandID) { ############################################ global $System_DataBase_Name,$myModule_Table,$myModule_Table_Brand; $sql = "Select ".$myModule_Table_Brand."_Name as name From ".$myModule_Table_Brand." Where ".$myModule_Table_Brand."_ID = ".$BrandID; $Query=MYSQL_DB_QUERY($System_DataBase_Name,$sql) OR DIE("Error:
$sql
\n"); Return mysql_result($Query,0,"name"); } ############################################ function product_BrandDetail($BrandID) { ############################################ global $System_DataBase_Name,$myModule_Table,$myModule_Table_Brand; $sql = "Select ".$myModule_Table_Brand."_Name as name , ".$myModule_Table_Brand."_ThumbnailPicture as ThumbnailPicture From ".$myModule_Table_Brand." Where ".$myModule_Table_Brand."_ID = ".$BrandID; $Query=MYSQL_DB_QUERY($System_DataBase_Name,$sql) OR DIE("Error:
$sql
\n"); return mysql_fetch_array($Query); } ?>
ไม่พบข้อมูล