Managing a movie collection in PHP