da una select sul db..

mysql_query("SELECT tab1.*,tab2.Descrizione
FROM tab1 JOIN tab2 ON IDTipo = tab2.ID
WHERE tab1.ID = $IDOgg ");