Re: [PHP] Searching for array keys

2001-05-04 Thread Martin Skjöldebrand
Mark Charette wrote: > >> > What's the best way of finding out if a specific array key is in an > array? >> > I have an associative array which *may* look like >> > (car =>saab, house => mansion, countyW=> A) but can equally well look > like >> > >> > (boat => daycruiser, house => flat, county =

Re: [PHP] Searching for array keys

2001-05-03 Thread Mark Charette
> > What's the best way of finding out if a specific array key is in an array? > > I have an associative array which *may* look like > > (car =>saab, house => mansion, countyW=> A) but can equally well look like > > > > (boat => daycruiser, house => flat, county => B). > > > > I want to find out

Re: [PHP] Searching for array keys

2001-05-03 Thread mailing_list
> What's the best way of finding out if a specific array key is in an array? > I have an associative array which *may* look like > (car =>saab, house => mansion, countyW=> A) but can equally well look like > > (boat => daycruiser, house => flat, county => B). > > I want to find out if the key "