query("SET NAMES 'utf8'"); //Para que se muestren las tildes correctamente $result = mysqli_query($link, "SELECT * FROM ALARNET.TransTec WHERE ((TransTec.Grupo = 'ALARCOS' or TransTec.Grupo = 'AYG' or TransTec.Grupo = 'AyG') and TransTec.Tipo ='Procesos de Software')ORDER BY TransTec.Orden ASC;"); while ($fila = mysqli_fetch_array($result)){ if ($fila !=NULL) { $INDICE = $fila['ID']; $CadenaIndice = "Indice" . strval($INDICE); $Z = "#"; $CadenaIndice2 = $Z . $CadenaIndice; ?>