Search results

  1. S

    how to combine two arrays in php &return the duplicates?

    I have those arrays: Array ( [0] => a [1] => a [2] => b [3] => c [4] => 1 [5] => 2 [6] => 3 ) Array ( [0] => 0 [1] => 0 [2] => 1 [3] => 2 [4] => 27 [5] => 28 [6] => 29 ) When i combine them the output is : Array ( [0] => a [1] => b [2] => c [27] => 1 [28] => 2 [29] => 3 ) why it doesn't...
  2. S

    I want to increment an associative array keys in php?

    Array ( [0] => H [1] => e [2] => l [3] => l [4] => o ) & i want it to be : Array ( [3] => H [4] => e [5] => l [6] => l [7] => o ) i tried everything but is not working plz answer me??
Back
Top