Dayo
02-01-2008, 03:58 PM
I have a situation as below...
<?php
function keys() {
$b = array('V00', 'V01', 'V02', 'V03');
return $b;
}
$a = keys();
echo $a;
?>
I would have thought it was an easy straightforward situation but I am not getting the array values back to $a. Pasting this into a file and loading to a browsers simply returns "Array".
Please help.
Thanks
<?php
function keys() {
$b = array('V00', 'V01', 'V02', 'V03');
return $b;
}
$a = keys();
echo $a;
?>
I would have thought it was an easy straightforward situation but I am not getting the array values back to $a. Pasting this into a file and loading to a browsers simply returns "Array".
Please help.
Thanks