The error is as follows:
Reason: Arrays cannot be output with echo
Solution: print_r() to output the array
Solution: var_dump() to see the data type
The error is as follows:
Reason: Arrays cannot be output with echo
Solution: print_r() to output the array
Solution: var_dump() to see the data type