For instance:
$array = ["a", "b", "c", "a", "a"];
I want to remove all "a" elements to get output:
$array = ["b", "c"];
Should also work for ints and floats.Thanks guys!
For instance:
$array = ["a", "b", "c", "a", "a"];
I want to remove all "a" elements to get output:
$array = ["b", "c"];
Should also work for ints and floats.Thanks guys!