implode - convert array into string without built in function php -
how convert array string without built in function php
$array = array("a1","b1","c1","d1","e1","f1");
output:
a1 b1 c1 d1 e1 f1;
<?php $arr = array("a1","b1","c1","d1","e1","f1"); $str=""; foreach($arr $a) { $str=$str." ".$a; } echo $str; ?>
Comments
Post a Comment