I have an array
$user['123'][]= 2/2/2012;
$user['123'][]= 2/3/2012;
$user['123'][]= 2/4/2012;
['123'] => Array
(
[0] => 2/2/2012
[1] => 2/3/2012
[2] => 2/4/2012
)
What I want to do , is to check whether $var=2/3/2012 is in the array or not,
I tried using in_array , it didnt work
any solution would be appreciated
Something like this
The function loops over the elements in the array searching it’s children for the date.