Join (converting an array to variable or string) in php example

Join is used to convert an array variable to string variable.

Program: join.php

echo "printing as array\n";
//array5 contents are separated by comma and stored in string_variable.
echo "printing as a single variable separated by comma using join()\n";
echo "$string_variable";







Thanks for reading this post……….!!!

443 total views, 1 views today

Leave a Reply

Your email address will not be published. Required fields are marked *