scotdiddle@xxxxxxxxxxxxxxxxxx wrote: > Hello All, > > Is the a built-in PHP call that I am overlooking which lets me > replace key values in an array. > > $inputArray = array(0 => array, 1 => array); (generated programtically) > > I want to end up with : > > $newArray = array('FAF1' => array, 'ODM1' => array); > > Thanks. $newArray = array('FAF1', 'ODM1', /* bla bla bla */); $inputArray = array_combine($newArray, $inputArray); I guess reading through this page was too much trouble for you: http://php.net/array > > Scot L. Diddle, UPS Freight, Richmond VA > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php