Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php add to array in loop

$newArray = array();
foreach($var in $oldArray){
$newArray[] = $var;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #add #array #loop
ADD COMMENT
Topic
Name
5+8 =