8109175771

cannot use object of type stdclass as array

PHP 16-04-2021

cannot use object of type stdclass as array

Details

It's not an array, it's an object of type stdClass. you cannot access this object as array

$data['dataname'];
if you want to access this object.
$data->dataname;


Example

Close Ads