PHP error --Array to string conversion

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

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325378200&siteId=291194637