Joining two text after explode
<pre><code>$string = 'some_name@somedomain.com';
$res = explode('@', $string);
$ext = '.jpg';
$newString = $res . $ext;
</code></pre>

<p>my result turn out to be only .jpg when I expected some_name.jpg</p>
