Re: [PHP] Associated arrays

2001-06-27 Thread Richard Lynch
> Can someone help me out by explaining how I can programatically rename the > key of an associated array? EG Cat01,Cat02 in the example below. > $cats = array( > "Cat01" => array("lv1" => 1, "lv2" => 1, "lv3" => 1, "lv4" => 1, "lv5" => > 1 ), > "Cat10" => array("lv1" => 1, "lv2" => 1, "lv3" => 1,

[PHP] Associated arrays

2001-06-26 Thread TPG
Hi Can someone help me out by explaining how I can programatically rename the key of an associated array? EG Cat01,Cat02 in the example below. $cats = array( "Cat01" => array("lv1" => 1, "lv2" => 1, "lv3" => 1, "lv4" => 1, "lv5" => 1 ), "Cat02" => array("lv1" => 1, "lv2" => 1, "lv3" => 1, "lv4" =>