I am a bigginner in php and stuck in the following:
I have an array with the following format and would like to implement the following logic in php.
If the attribute rz_price is present in this array I would multiply the value in [0]=500 and [1]=700 by a fixed amount else keep it as it is.
Array
(
[0] => Array
(
[key] => rz_listing_type
[value] => 380
)
[1] => Array
(
[key] => rz_listing_region
[value] => Array
(
[0] => 132
[1] => 134
)
[compare] => IN
)
[2] => Array
(
[key] => rz_price
[value] => Array
(
[0] => 500
[1] => 700
)
[type] => NUMERIC
[compare] => BETWEEN
)
)
Thanks for your help.