Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: ArturoRobles

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
[Solved] admin account expired

I install numerous instances for development purpo[…]

For setting an email server, I also utilized a Gma[…]

To get windows logged in username

I discovered some information using the t-username[…]

pmusers.com

Hi, pmusers.com is a good resource when it comes t[…]