- Fri Jul 30, 2021 6:06 pm
#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;
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;