I need check among items entering session array.Say $a=1, if $a enters the array for the first time then mark it new.Else if the same $a entered the array more than once then mark it old.I tried using in_array,array_key_exists funtions but to no avail.
Please help me..Thanks.