I have two arrays, then i combines them with array_combine() method and now i want to get a secend elemont of new array in thic case: Ben = 37
<?php
$fname=array("Peter","Ben","Joe");
$age=array("35","37","43");
$c=array_combine($fname,$age);
$a = $c[1];
?>
but it outputs erros Notice: Undefined offset: 1
Have i made a mistake? Yep but where?