Answers for "how to get data from string array in php"

PHP
0

array to string php

<?php

$array = array('lastname', 'email', 'phone');
$comma_separated = implode(",", $array);

echo $comma_separated; 

// lastname,email,phone


?>
Posted by: Guest on November-24-2021
2

arry to string php

implode("|",$type);
Posted by: Guest on April-07-2020

Code answers related to "how to get data from string array in php"

Browse Popular Code Answers by Language