notice: array to string conversion in php mysql code example
Example 1: Array to String Conversion in PHP
$gadget = array( 'computer', 'mobile', 'tablet' );
echo implode($arr);
Example 2: Notice: Array to string conversion php
// suppress the Notices:
error_reporting(0);
print(array(1,2,3)); //Prints 'Array' without a Notice.