Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array to string php

<?php

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

echo $comma_separated; 

// lastname,email,phone


?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #array #string #php
ADD COMMENT
Topic
Name
3+1 =