我還有一個陣列內的陣列內 - 這是我的print_r:刪除一個項目從數組另一個數組
Array
(
[0] => Array
(
[ProductID] => 180
[ProductName] => Male Thread BSPT Coupling
[ProductImage] => 054-male-thread-bspt-coupling.jpg
[Termination] => 1/4\"
[Length] => 58
[Diameter] => 23
[Part] => 054CVMT14SNN
[Price] => 3.26
[quantity] => 22
)
[1] => Array
(
[ProductID] => 183
[ProductName] => Male Thread BSPT Plug
[ProductImage] => 054-male-thread-bspt-plug.jpg
[Termination] => 1/4\"
[Length] => 38
[Diameter] =>
[Part] => 054PNMT14SXN
[Price] => 0.67
[quantity] => 22
)
)
我需要從陣列中刪除,其中部分= X
請參閱:http://stackoverflow.com/q/1503579/3933332 – Rizier123
嗨Rizier - 不幸的是,我已經在該頁面上,並沒有找到一個解決方案,我的數組裏面和數組在PHP 5.3 –
除此之外,5.3已經死了2年它應該工作。你有什麼錯誤嗎? – Rizier123