Array to string conversion when passing database data to variable in php code example
Example: Array to String Conversion in PHP
$gadget = array( 'computer', 'mobile', 'tablet' );
echo implode($arr);
$gadget = array( 'computer', 'mobile', 'tablet' );
echo implode($arr);