TE LO SOLUCIONO Y WAO QUE ME CANSO DE PENSAR AH, MAS FACIL ES CON BASE DE DATOS OE, JAJA..... A CIERTO, QUIZAS LO PONGA COMO APORTE??
Código PHP:
<?php
$operacion[0]="operacion: alquiler";
$operacion[1]="operacion: venta";
$ambiente[0][0]="operacion: alquiler - ambiente: 1";
$ambiente[0][1]="operacion: alquiler - ambiente: 2";
$ambiente[1][0]="operacion: venta - ambiente: 1";
$ambiente[1][1]="operacion: venta - ambiente: 2";
$ficha[0][0][0]="operacion: alquiler - ambiente: 1 - ficha: 1";
$ficha[0][0][1]="operacion: alquiler - ambiente: 1 - ficha: 2";
$ficha[0][1][0]="operacion: alquiler - ambiente: 2 - ficha: 1";
$ficha[0][1][1]="operacion: alquiler - ambiente: 2 - ficha: 2";
$ficha[1][0][0]="operacion: venta - ambiente: 1 - ficha: 1";
$ficha[1][0][1]="operacion: venta - ambiente: 1 - ficha: 2";
$ficha[1][1][0]="operacion: venta - ambiente: 2 - ficha: 1";
$ficha[1][1][1]="operacion: venta - ambiente: 2 - ficha: 2";
if(isset($ope) and $ope!=""){
if(isset($amb) and $amb!=""){
if(isset($fic) and $fic!=""){
echo $ficha[$ope][$amb][$fic];//MUESTRO LA FICHA RESPECTIVA
}else{
for($i=0;$i<count($ficha[$ope][$amb]);$i++){
echo '<a href="?ope='.$ope.'&amb='.$amb.'&fic='.$i.'">'.$ficha[$ope][$amb][$i]."</a><br>";//LISTO LAS FICHAS RESPECTIVAS
}
}
}else{
for($i=0;$i<count($ambiente[$ope]);$i++){
echo '<a href="?ope='.$ope.'&amb='.$i.'">'.$ambiente[$ope][$i]."</a><br>";//LISTO LOS AMBIENTES RESPECTIVOS
}
}
}else{
for($i=0;$i<count($operacion);$i++){
echo '<a href="?ope='.$i.'">'.$operacion[$i]."</a><br>";//LISTO LAS OPERACIONES RESPECTIVAS
}
}
?>
SOLO HAY QUE CAMBIAR LOS CONTENIDOS O CREAR MAS. SUERTE.