Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array push foreach php

$items = array();
foreach($group_membership as $username) {
 $items[] = $username;
}

print_r($items);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #push #foreach #php
ADD COMMENT
Topic
Name
3+5 =