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 remove space from the start of a PHP string?How do I convert characters to HTML entities using PHP?
How do I make the first letter of a string uppercase?
How do I make sure a string is a certain length?
How do I fetch the meta tags from a webpage using PHP?
