jeudi 24 janvier 2019

How to loop(foreach) json decoded in php (laravel)

This is my code`

$a =json_decode($user->name, true);

And I need to loop $a, but I'm getting

"Invalid Argument supplied for foreach"

while executing `



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire