Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#829419
hi. i have two grid and that is fix in 31 rows
i want push column11 of each grid to one array in triger
i use code below for push column11 to array but what about The second grid
$grid = @=gridVar001;
$len = count($grid);
$column_name = 'person_user';
$usr_uid = '';

//$target_array = @=users;
$target_array = array();


for ($i = 1; $i <= $len; $i++)
{
$usr_uid = $grid[$i][$column_name];
array_push($target_array, $usr_uid);
}

@=users = $target_array;
#829424
Hi,

Can you try using array_merge_recursive() - Merge one or more arrays recursively?
E.g.
Code: Select all
$a1=array("a"=>"red","b"=>"green");
$a2=array("a"=>"blue","b"=>"yellow");

print_r($result=array_merge_recursive($a1,$a2)); 
//output: Array ( [a] => Array ( [0] => red [1] => blue ) [b] => Array ( [0] => green [1] => yellow ) )

echo $result[a][1];
//output: blue

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]