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 to compare strings in PHP?How do I one-way encrypt a string in PHP?
How do I make the first letter of each word upper case?
How do I display newline characters on a webpage?
How do I print the " in an echo statement?
