Search PHP ranges checks

working????