html - How to solve PHP error 'Notice: Array to string conversion in...' - Stack Overflow

PHOTO EMBED

Tue Sep 14 2021 20:54:27 GMT+0000 (UTC)

Saved by @mvieira

<?php
    $stuff = array(1,2,3);
    print implode(", ", $stuff);    //prints 1, 2, 3
    print join(',', $stuff);        //prints 1,2,3
content_copyCOPY

https://stackoverflow.com/questions/20017409/how-to-solve-php-error-notice-array-to-string-conversion-in