Answers for "covert array to string php"

PHP
5

php implode array

$values = array_map('array_pop', $array);
$imploded = implode(',', $values);
Posted by: Guest on March-03-2020
0

Notice: Array to string conversion php

$stuff = array(1,2,3);
print_r($stuff);
$stuff = array(3,4,5);
var_dump($stuff);
Posted by: Guest on March-05-2020

Browse Popular Code Answers by Language