Jump to content

PHP Implode...


Lee-Bartlett

Recommended Posts

It is quite a simple function TBH.

 

http://php.net/implode

 

basically it takes two arguements, an array and a dilemiter, it then implodes the array into a string with each value seperated by the dilemiter.

 

ie.

 


$array = array("www", "google", "com");

$string = implode('.', $array);

echo $string;

/* output www.google.com */

Link to comment
https://forums.phpfreaks.com/topic/131188-php-implode/#findComment-681124
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.