When I insert the value to the array its counting the value instaed of adding.
I have the below array named $staff_group_arr
Array ( [0] => All Rights User [1] => Operation [2] => Supritendent [3] => Admin Department [4] => Accounts [5] => Transportation )
I am donig like this
$glo_staff_array = array_push($staff_group_arr, "Global", "Managers");
print_r($glo_staff_array );
Result is coming as 8
Please let me know where is the fault.