SoFunction
Updated on 2025-03-10

How to get the current column title in column list and article page in dedecms


//Get the column name through the column ID
function GetTypeName($typeid){ 
   $dsql = new DedeSql(false); 
   $row = $dsql->GetOne("select typename From #@__arctype where ID=$typeid; "); 
   return $row['typename'];