warlord
03-11-2007, 09:05 AM
Hello,
I need some help trying to change duplicate array values to unique ones. Is there a way to search for all the 'unknown' values in the array and rename them to something unique?
[name] => unknown
[city] => new york
[zipcode] => unknown
[region] => east
[year] => 2007
[gender] => unknown
[experience] => unknown
I would like to rename them to something unique such as 'unknown 01' , 'unknown 02', etc. dynamically without having to know the key name ... Any help is much appreciated!
~ Thanks
I need some help trying to change duplicate array values to unique ones. Is there a way to search for all the 'unknown' values in the array and rename them to something unique?
[name] => unknown
[city] => new york
[zipcode] => unknown
[region] => east
[year] => 2007
[gender] => unknown
[experience] => unknown
I would like to rename them to something unique such as 'unknown 01' , 'unknown 02', etc. dynamically without having to know the key name ... Any help is much appreciated!
~ Thanks