|
Posted by J.O. Aho on 08/21/06 14:14
nescio wrote:
> hello,
>
> i have two array;
>
> one is of the type:
> $a = array('a','b','c','d');
>
> i place this array in an associative array like:
>
> $b = array('some_key' => 'hello ; ' . $a);
should be:
$b = merge_array(array('some_key' => 'hello ; '), $a);
http://www.php.net/manual/en/function.array-merge.php
http://www.php.net/manual/en/function.array.php
//Aho
Navigation:
[Reply to this message]
|