php implode issue
<p>I have an array $x = array(a,b,c); Each element of the array is a  url.</p>

<p>There is a function link($x[$i]) which converts every element of the array into a hyperlink.</p>

<pre><code>function convert($x){
 $new = explode(',',$x);
 for($i=0;$i&lt;count($new);$i++){
   echo  link($new[$i]);  // converts the url to hyperlink
 }
</code></pre>

<p>This displays the output as url1  url2 etc. But wht if i want the comma ',' between the 2 urls. How do i get that, without the comma ',' being part of the hyperlink?</p>

<p>desired output would be</p>

<pre><code>hyperlink1 , hyperlink2 etc  // note comma ',' should not be part of the hyperlink
</code></pre>
