Guest User

Untitled

a guest
Jul 6th, 2014
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. #array overwriting
  2. Array (
  3. [NM1] = array(
  4. [0] => GTHHS
  5. [1] => MEKID Interface
  6. [2] => 5496
  7. [3] => 2012-07-20
  8. )
  9. );
  10.  
  11. Array (
  12. [NM1] = array(
  13. [0] => GTHHS
  14. [1] => MEKID Interface
  15. [2] => 5496
  16. [3] => 2012-07-20
  17. )
  18. );
  19.  
  20. #output
  21. Array (
  22. [NM1] = array(
  23. [0] => GTHHS
  24. [1] => MEKID Interface
  25. [2] => 5496
  26. [3] => 2012-07-20
  27. )
  28. );
  29.  
  30.  
  31. #desired output
  32.  
  33. $array1 = Array (
  34. [NM1] = array(
  35. [0] => GTHHS
  36. [1] => MEKID Interface
  37. [2] => 5496
  38. [3] => 2012-07-20
  39. )
  40. );
  41.  
  42. $array2 = Array (
  43. [NM1] = array(
  44. [0] => GTHHS
  45. [1] => MEKID Interface
  46. [2] => 5496
  47. [3] => 2012-07-20
  48. )
  49. );
Advertisement
Add Comment
Please, Sign In to add comment