* and then Greg Donald declared.... > On Sun, 31 Oct 2004 12:58:04 +0100, Nick Wilson <nick@xxxxxxxxxxxxxx> wrote: > > I think in_array() sounds like a great solution, wonder if it's faster > > than comparing each ooe with == ? thanks! > > Benchmark it both ways and find out. Then post back and tell us. :) Started to, but found I cant ;( I need to get the key from the array also (for use in a corresponding array) and with in_array() I couldnt find a way to do it. So, im just using == which is lightning fast anyway so no worries :) thanks again.. -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php