I would like to find the value in an array using the key.
Like this:
$array=('us'=>'United', 'ca'=>'canada'); $key='ca';
How can I have the value 'canada'?
It's as simple as this :
$array[$key];
1.4m articles
1.4m replys
5 comments
57.0k users