I would like to use full variable names (I know it's a very small thing) so $res_ids is $reservation_ids :-)