Answers for "php convert array to formatted string"

PHP
-1

Notice: Array to string conversion php

// Joining all the cells in the array together:
<?php
    $stuff = array(1,2,3);
    print implode(", ", $stuff);    //prints 1, 2, 3
    print join(',', $stuff);        //prints 1, 2, 3
?>
Posted by: Guest on March-05-2020

Code answers related to "php convert array to formatted string"

Browse Popular Code Answers by Language