nuthead
11-12-2003, 10:05 AM
I have an array which really contains 4 items per value eg.
array("a,b,c,d","b,c,d,e","c,d,e,f")
What i want to do is do a search for say "a" (to return the first entry) but when I try this with array_search() it doesnt return anything. I could do a search with regular expressions but would that return the whole array string ("a,b,c,d")?
Does that make sense? :confused:
array("a,b,c,d","b,c,d,e","c,d,e,f")
What i want to do is do a search for say "a" (to return the first entry) but when I try this with array_search() it doesnt return anything. I could do a search with regular expressions but would that return the whole array string ("a,b,c,d")?
Does that make sense? :confused: