How to change the array:
$array['db[blabla]']
to this array:
$array['db']['blabla']
Thanks.
Here is my crack at it (tested)
$array['db[blabla]'] = 10;
$newArr = array();
foreach($array as $key => $value) {
$r = explode("[",$key);
$newArr[$r[0]][str_replace(']', '', $r[1])] = $value;
}