Answer:
Declare the $items array outside the loop and use $items [] to add items to the array: $items = array (); foreach ($group_membership as $username) { $items [] = $username; } print_r ($items); ### Use
Step-by-step explanation:
5.6m questions
7.3m answers