jeudi 3 janvier 2019

How to retrieve json data from database to laravel blade

I'm using Laravel to build my system and I needed to send multiple option from drop down input field and it was done successfully by sending as json_encode.

but when I retrieve data to laravel blade, it display like this: ["Sinhala","Englis"]

How can I show it without brackets and commas? I tried json_decode and an error occured (see image)



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire