The following PHP code attempts to print an array. However, the output simply states 'Array' rather than the content of the Array. If anyone could tell me out to print the contents instead I would be very grateful.
<?php
$greetings1 = array(
'a' => 'hello',
'b' => 'hi',
);
$greetings2 = array(
'c' => 'hey',
'd' => 'greetings',
);
$greetings = array_merge($greetings1, $greetings2);
echo $greetings;
?>
Thankyou
Andrew