SQL PHP HTML ASP JavaScript articles and free scripts to download
PHP String Functions


We can join all elements of an array and return a sting by using implode string function in PHP. Here are some examples
echo implode($ar);
The output is here
Sorry , we missed the space between words so let us add one gap between
echo implode(" ",$ar);
The output is here
Welcome to plus2net php section
You can read how to create an array from a string by explode() function

Be the first to post comment on this article :

PHP String Functions
Post Comment This is for short comments only. Use the forum for more discussions.
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked

HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2015 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer