';
$query2="SELECT NT FROM THESAURUS WHERE TERM LIKE '%".htmlentities($texto['nombre'])."%';";
$consulta2= mysql_query($query2);
$texto2 = mysql_fetch_array($consulta2);
if ($texto2['NT']!='')
{
echo "
';
$query2="SELECT NT FROM THESAURUS WHERE TERM = '".htmlentities($texto['nombre'])."';";
$consulta2= mysql_query($query2);
while ($texto2 = mysql_fetch_array($consulta2))
{
$tramos=explode(';',$texto2['NT']);
for ($i=0;$i ".htmlentities($tramos[$i])."