PHP: Show first word for last name
<p>I wish to make something that cuts the name to e.g:</p>

<blockquote>
  <p>Alex Andersson</p>
</blockquote>

<p>to uppercase first word after space(first name) "A" like this:</p>

<blockquote>
  <p>Alex A.</p>
</blockquote>

<p>Right now it displays the full name like this:</p>

<pre><code>echo $data["full_name"]; 
</code></pre>

<p>Hope you understand what I mean.</p>
