php array push foreach loop code example
Example: array push foreach php
$items = array();
foreach($group_membership as $username) {
$items[] = $username;
}
print_r($items);
$items = array();
foreach($group_membership as $username) {
$items[] = $username;
}
print_r($items);