Add notify messages to editAppFamily

This commit is contained in:
Tony Lambregts
2005-01-08 18:28:32 +00:00
committed by WineHQ
parent 5cad791b03
commit 1d26c64a9a
4 changed files with 154 additions and 14 deletions

View File

@@ -283,4 +283,15 @@ function getNumberOfImages()
return $row->num_images;
}
function lookupVendorName($vendorId)
{
$sResult = query_appdb("SELECT * FROM vendor ".
"WHERE vendorId = ".$vendorId);
if(!$sResult || mysql_num_rows($sResult) != 1)
return "Unknown vendor";
$vendor = mysql_fetch_object($sResult);
return $vendor->vendorName;
}
?>