I have tried all the solutions suggested in this post but have not been able to make them work in my case.
My array :
array(2) {
  ["number_s"]=>
  array(14) {
    [0]=>
    string(2) "22"
    [1]=>
    string(2) "23"
    [2]=>
    string(0) ""
    [3]=>
    string(0) ""
    [4]=>
    string(0) ""
  }
  ["player_name"]=>
  array(14) {
    [0]=>
    string(9) "John Doe"
    [1]=>
    string(11) "Jack Sparrow"
    [2]=>
    string(0) ""
    [3]=>
    string(0) ""
    [4]=>
    string(0) ""
  }
}
I would like to remove all the empty entries but how to do that ?
Thanks a lot for help
 
     
    