[Phpmyadmin-devel] Re: 2.7.1 config.inc.php issue

Michal Čihař michal at cihar.com
Mon Dec 5 03:55:01 CET 2005


Hi

On Monday 05 December 2005 12:50, Sebastian Mendel wrote:
> i do not fully understand ... can you please give a step by step
> instruction to reproduce what is wrong and tell me what you expect?

<?php
$cfg1 = array();
$cfg1['Export']['one'] = 'something';

$cfg2 = array();
$cfg2['Export']['two'] = 'something';

$cfg =array_merge($cfg1, $cfg2);
print_r($cfg);
?>

Gives:

Array
(
    [Export] => Array
        (
            [two] => something
        )

)


However resulting configuration should have both one *and* two.

-- 
	Michal Čihař | http://cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20051205/ae54fea2/attachment.sig>


More information about the Developers mailing list