Answer the question
In order to leave comments, you need to log in
How to take values from an array and compare with a number?
There is an array, the print outputs it like this:
// print_r($arBasketItems);
Array
(
[0] => Array
(
[ID] => 40517
)
[1] => Array
(
[ID] => 40516
)
[2] => Array
(
[ID] => 40456
)
)
// и так далее
[ID]
<?=$arCurOffer['ID']?>
Answer the question
In order to leave comments, you need to log in
if also has a short notation, but in general it is better to use special template engines.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question