PHP implode() function is used join array elements with a string.In other words we can say it returns a string from the elements of an array.

Example

                                        

$array = array('My','Name','Is','BestInterViewQuestion');
echo implode(" ",$array)


// OUTPUT : My Name Is BestInterViewQuestion

Suggest An Answer

No suggestions avaliable!