php push or merge code example
Example 1: php combine arrays
$output = array_merge($array1, $array2);
Example 2: how to append one array to another array in php
((data.userDetails.profile_picture === null) ||(data.userDetails.profile_picture===undefined))? picture ='<div><img src="http://commondatastorage.googleapis.com/codeskulptor-assets/lathrop/nebula_brown.png"' :
picture = '<img src="'+data.userDetails.profile_picture+ '"/>';