Database->query('SELECT '.$Type['Parameters']['Name'].' AS Name FROM `'.$Type['Parameters']['Table'].'` WHERE `'.$Type['Parameters']['Id'].'`='.$Item['Value']); $DbRow = $DbResult->fetch_assoc(); $Output = $DbRow['Name']; /* $Type = GetTypeDefinition($Item['Type']); $List = GetListDefinition($Type['Parameters'][0]); $TargetTable = $Type['Parameters'][0]; $TargetName = $this->GetTablePointerName($Type, $Item); if($TargetName != '') $Output = ''.$TargetName['Name'].''; else $Output = ''; */ return($Output); } function OnEdit($Item) { global $TypeDefinitionList; $Output = ''; return($Output); } function OnLoad($Item) { return($_POST[$Item['Name']]); } }