"; echo "
".$_GET['letra']."
"; echo "
    "; while ($er_at=mysql_fetch_array($ik_at)){ echo "
  • "; $at2="SELECT * FROM fitxategia WHERE id_artista='".$er_at['id_artista']."' AND id_disko='0' AND id_hemero='0' AND baja='0000-00-00' ORDER BY ordena LIMIT 1"; //echo $at; $ik_at2=mysql_db_query($DBName,$at2,$Link); while ($er_at2=mysql_fetch_array($ik_at2)){ echo "
    "; 
					echo isset($er_at[
    "; } echo ""; echo "
  • "; } echo "
"; echo "
"; }else{ foreach ($alfabeto as $letra){ $xpre="AND izena LIKE '".$letra."%'"; $at="SELECT * FROM artista WHERE baja='0000-00-00' AND publikatu!='EZ' ".$xpre." ORDER BY izena"; //echo $at; $ik_at=mysql_db_query($DBName,$at,$Link); $kon_at=mysql_num_rows($ik_at); //echo $kon_at; if ($kon_at>0){ echo "
"; echo "
".$letra."
"; echo "
    "; while ($er_at=mysql_fetch_array($ik_at)){ echo "
  • "; $at2="SELECT * FROM fitxategia WHERE id_artista='".$er_at['id_artista']."' AND id_disko='0' AND id_hemero='0' AND baja='0000-00-00' ORDER BY ordena LIMIT 1"; //echo $at; $ik_at2=mysql_db_query($DBName,$at2,$Link); while ($er_at2=mysql_fetch_array($ik_at2)){ echo "
    "; 
					echo isset($er_at2[
    "; } echo ""; echo "
  • "; } echo "
"; echo "
"; } } } ?>