Posts by Rafael • 1 point
1 post
-
0
votes1
answer510
viewsQ: $arr = array (1,2,3,4,5,6,7,8,9,10); how do I add only even numbers within the php array?
have an Array: $arr = array (1,2,3,4,5,6,7,8,9,10); I would like to know how to add only even numbers within the array of the vector in PHP?