Hi everyone,
I am wanting to know if there is such a thing like the mySQL SELECT WHERE but in array's.
I have this array:
<?php
$array = array(
[1] = array(
['test'] = '1',
['test2'] = '2'
);
[2] = array(
['test'] = '4',
['test2'] = '2'
);
);
?>
I am basically wanting all the records where 'test2' = '2'. So my result should be the id's 1,2.
Can this be done if you get my drift. Its really hard to explain what im after.
Thanks,
Marais