Answers for "array convert string 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
1

php array to string

$requestAsString = print_r($_REQUEST, true);
Posted by: Guest on September-22-2021

Code answers related to "array convert string in php"

Browse Popular Code Answers by Language