Notice:Array to string conversion 原因

程序报错:

Notice: Array to string conversion in

原因:用echo来输出数组了   输出数组用print_r($数组)