Nope: foreach ($voted_id as $option) and foreach ($cur_voted_id as $option)