Hello,

If I have an associative array like:

$myFriendsAges['Tom']=25;
$myFriendsAges['Bill']=35;
$myFriendsAges['Al']=45;
$myFriendsAges['Mark']=55;

Is there a way to index name into a string. I would like to be able to echo something like:

My friend Bill is 35 years of age.

Is there a way to do this?

Thanks

Tim

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to