Fatal error Uncaught Error Cannot use object of type stdClass as array in php:(Fixed)

preview_player
Показать описание
In this tutorial, I am going to explain how to fix a most common error that every programmer face i.e Fatal error: Uncaught Error: Cannot use object of type stdClass as array in PHP.
Рекомендации по теме
Комментарии
Автор

If you getting datas in db, you should use json_encode($data) and then use the $item = json_decode($data, true). In this way you can get the values like Thanks for helpful content. Subscribed!

emreozyildirim
Автор

oh my good


thanks you very much xd

emmanuelgarayar
Автор

I saw only your writing i don't know what type of man u r

suvendubiswal