what are Implode and Explode functions?

Answer Posted / -=pkg=-

The implode() function takes an already existing array as
it's argument, and concatenates the contents of
each element in the array into a string.

where as explode() function performs reverse to implode()
function. It splits the string into items by a
delimiter, such as a dash, ampersand, space and places each
item into a new array.

Is This Answer Correct ?    52 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to display reverse of any number?

510


How to open a file for reading?

545


how to open & closing opening period in fico

1219


If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

536


What software is required to run php?

553






Why session is required?

524


What is php ci?

554


How to make horizonatl menu and vertical menu responsive

1875


What is ltrim?

515


Can we use onclick in submit button?

538


What is the best way to avoid email sent through php getting into the spam folder?

550


Can a super () and this () keywords be in same constructor?

487


What is the difference between associative array and indexed array?

511


What does the unset() function means?

591


What is the difference between session_unregister() and session_unset()?

577