Diziler PHP birleştirme

0 Cevap php

Ben iki veri diziler var:

array(2) {
  ["12:15"]=>
  string(84) "http://form.horseracing.betfair.com/horse-racing/010108/Catterick_Bridge-GB-Cat/1215"
  ["12:20"]=>
  string(77) "http://form.horseracing.betfair.com/horse-racing/010108/Southwell-GB-Sou/1220"
}

ve

array(2) {
  ["12:15"]=>
  string(90) "http://www.racingpost.com/horses/result_home.sd?race_id=446323&r_date=2008-01-01&popup=yes"
  ["12:20"]=>
  string(90) "http://www.racingpost.com/horses/result_home.sd?race_id=446250&r_date=2008-01-01&popup=yes"
}

Ben zamanında dayanarak bu birleştirmek istiyorum, bu yüzden her iki dizide de kere sadece maç değerler dizisi ile sonuna kadar.

array(2) {
  ["12:15"]=>
  array(2) {
    [0]=>
    string(84) "http://form.horseracing.betfair.com/horse-racing/010108/Catterick_Bridge-GB-Cat/1215"
    [1]=>
    string(90) "http://www.racingpost.com/horses/result_home.sd?race_id=446323&r_date=2008-01-01&popup=yes"
  }
  ["12:20"]=>
  array(2) {
    [0]=>
    string(77) "http://form.horseracing.betfair.com/horse-racing/010108/Southwell-GB-Sou/1220"
    [1]=>
    string(90) "http://www.racingpost.com/horses/result_home.sd?race_id=446250&r_date=2008-01-01&popup=yes"
  }
}

0 Cevap