What is the difference between join and implode in PHP?
Some people get confused between implode and explode, but find 'join' more intuitively easy to remember that they use it to combine things together. If that's the case then use 'join'.
Having gone through a number of PHP books it seems that implode is the one that tends to get used the most. Unless the book's been written by someone who also uses Perl a lot (or more), in which case they'll probably stick with join!
Comments on this Question/Answer
What is difference between join & implode in php?By: nilesh, 11 Sep 2009 05:54:07
Reply to comments / post your own comment >>>
ASK A QUESTION
More strings PHP Questions
How do I convert newlines to HTML line break tags?What is the difference between ' and "?
How do I check if a string contains HTML?
How do I calculate the metaphone of a string?
What is the usage of { } in string handling in php?
