function seleccionarRank($contribucion){ if($contribucion >= 0 && $contribucion <= 999){ return "Private"; } //etc...}