How to ignore duplicate name and make first letter should be caps using nested array?
<p>Hi Friends I am using nested array for displaying name and languages.I want to display the fist letter name should be in caps and avoid the language duplicate.This is my code.
<strong>My code</strong></p>

<pre><code>$user=array(array("name"=&gt;"prusoth","language"=&gt;array("english","tamil")),array("name"=&gt;"ven kat","language"=&gt;array("english","french")));

print_r($user);

print_r(array_unique($user));

print_r(ucfirst($user));
</code></pre>

<p>I want the output like this:
 name = (Prusoth,Venkat)
 language = (english,tamil,french)</p>
