I have a long array such as:
$userLogs = array(
'report-abuse-key' => array(
'name' => null,
'path' => null,
'code' => 'report-abuse-page',
'header' => 'Would you like to proceed?',
'link-in-navigation-menu'=>null,
'navigation-menu-in-page'=>'Show',
'meta'=>array(
'show'=>null,
'title'=>'//GET HEADER VALUE HERE//',
'description'=>null,
'keywords'=>null,
'refresh'=>null,
'canonical'=>null,
'noindex-tag'=>'Show',//'null' = Do SEO; 'Show' = No SEO;
),
),
);
I would like to get the value from $userLogs['header'] and have it duplicated in $userLogs['meta']['title'] i.e. I want it to have it replicated and update automatically without using copy/paste.
'title' => $userLogs['header'],directly?'header' => 'Would you like to proceed?',in 'title'=>'//GET HEADER VALUE HERE//',