Hi I'm trying to do this
$system = array(
'key1' => 'val1',
'key2' => 'val2',
'key3' => $system['key1'].'val3'
);
But when we echo key3 it ends up as just "val3" rather than "val1val3".
Is there a way around this problem?
Thanks!
Hi I'm trying to do this
$system = array(
'key1' => 'val1',
'key2' => 'val2',
'key3' => $system['key1'].'val3'
);
But when we echo key3 it ends up as just "val3" rather than "val1val3".
Is there a way around this problem?
Thanks!