this is my array:
$array = array
(
array
(
'id' => '1',
'name' => 'Product 1',
'qty' => '2'
),
array
(
'id' => '2',
'name' => 'Product 2',
'qty' => '1'
)
);
i want get if there is the id value 1 return true, else return false. But it's only check base on id.
the problem is, how to check if the value of id is exist