0 and $XRelease > 0) { $sql="select count(*) as anzahl from release_kopf rk, release_daten rd where rk.id_r='$XRelease' and rk.Freigabe=1 and rk.id_r = rd.id_r and rd.id_d='$XSongid' limit 1"; $result=mysql_fetch_array(mysql_query($sql)); if ($result["anzahl"]== 0) {$XSongid=0;} $sql="select Lyrics, Track, DemoLink,RemixVon from tracks where id_d='$XSongid'"; $result=mysql_fetch_array(mysql_query($sql)); if ($result["RemixVon"]==0) $temp = $XSongid; else $temp= $result["RemixVon"]; $sql = "select DISTINCT t.id_d,t.Track,t.Laenge, t.TrackInfo from tracks t, release_kopf rk, release_daten rd where RemixVon=$temp and rk.id_r = rd.id_r and rd.id_d = t.id_d and (rk.Freigabe=1 or rk.ReleaseName='Hidden-Area')"; $RemixQuery=mysql_query($sql); $sql="select id_d,Lyrics, Track, DemoLink,RemixVon from tracks where id_d='$temp'"; $OriSong=mysql_fetch_array(mysql_query($sql)); } } else { $XSongid= 0; } ?>
   
 
   
 
 
Please select Release
 
 
 
 
...and Song
   
     
  0 and $XRelease>0 ) { echo "Available Songversions"; } ?>
 
 
 
0 and $XRelease>0) { echo "".$OriSong["Track"].""; echo "
"; while ($RemixErg=mysql_fetch_array($RemixQuery)) { echo "".$RemixErg["Track"].""; echo "
"; } } ?>