Problem with Arrays


I am learning arrays and have entered code as advised (see bottom of below)- apparently the output should be:


Mine reads:

  • L=A

  • e=B

  • t=C

  • N=1

  • u=2

  • m=3

It looks very clever and all that but I can’t work out how to amend the code to achieve the result that I should have got. Would someone be able to advise please. Many thanks

$matrix=array('Letter'=>$letters, 'Number'=>$numbers);
Echo "<p>Start:{$matrix['Letter'][0]}</p>";
foreach($matrix as $array=> $list)
Echo '<ul>';
foreach($list as $key=> $value)
{echo "<li>$array[$key]=$value";}
Echo '</ul>';

i didn’t understand anything.