阵列一个
Array
(
[0] => 1440:480
[1] => thumb
[2] => 240:auto
[3] => small-thumb
[4] => big-thumb
[5] => detail-img
[6] => tiny-thumb
)
阵列乙
Array
(
[0] => 1440x480
[1] => 130xauto
[2] => 240xauto
[3] => 100xauto
[4] => 150xauto
[5] => 650xauto
[6] => 45xauto
)
如何使这个?
阵列Ç
Array
(
[1440:480] => 1440x480
[thumb] => 130xauto
[240:auto] => 240xauto
[small-thumb] => 100xauto
[big-thumb] => 150xauto
[detail-img] => 650xauto
[tiny-thumb] => 45xauto
)
尝试array_combine http://www.php.net/manual/en/function .array-combine.php。 – Roopendra
他做了什么,所以fas是打开第二个第二个问题... http://stackoverflow.com/questions/16669406/please-help-me-about-php-array –