Hi, some "simple" problem:
I've this array;
$myArray = array(
'FOO',
'BAR,
);
i want :
$mayArray = array(
'FOO' => array(),
'BAR' => array(),
);
in the moment iam doing it with an foreach:
foreach ($myArray as $key => $val) {
$newArray[$val] = array();
}
$myArray = $newArray;
is there an easyer way ? ;-)