There are two arrays:
###<pre>array(1) { [60]=> int(0) } ###array(4) { [19]=> string(31) "Акушер-гинеколог" [3]=> string(17) "Андролог " [4]=> string(24) "Анестезиолог" [60]=> string(22) "Бактериолог" }
At the output you need to get an array:
###array(4) { [19]=> string(31) "Акушер-гинеколог" [3]=> string(17) "Андролог " [4]=> string(24) "Анестезиолог" }
We need to get all the elements from the $arr
array that are not in the $arr2