Answer the question
In order to leave comments, you need to log in
How to count how many times a phrase occurs in a php array?
There is an array:
Array ( [result] => Array ( [0] => Array ( [warehouse_id] => 11111111111111[product_id] => 105757633 [offer_id] => A2275 [updated] => [errors] => Array ( [0] => Array ( [code] => SKU_STOCK_NOT_CHANGE [message] => sku stock not changed ) ) ) [1] => Array ( [warehouse_id] => 11111111111111[product_id] => 105760010 [offer_id] => A1143 [updated] => [errors] => Array ( [0] => Array ( [code] => SKU_STOCK_NOT_CHANGE [message] => sku stock not changed ) ) ) [2] => Array ( [warehouse_id] => 11111111111111[product_id] => 105761741 [offer_id] => A2585 [updated] => [errors] => Array ( [0] => Array ( [code] => SKU_STOCK_NOT_CHANGE [message] => sku stock not changed ) ) )
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question