i 有两个阵列,主要有书本(61,78,......etc)
(1) book_width
(
[61] => 8.3
[72] => 8286.1
[78] => 6.4
[100] => 8407.0
[102] => 0.7
)
(2) book_height
(
[61] => 9.00
[72] => 150
[78] => 8.00
[100] => 150
[102] => 3.00
)
现在需要一阵列,其中含有其高度大于或等于其宽度的id本。
手段一:
(2) book_dimension
(
/*book id*/ [78] => 8.00 //along their height or width(anyone)
[102] => 3.00
)
or only book id in a new array
(2) book_dimension
(
[0] => 78
[1] => 102
)