How to parse json array with php? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to parse json array with php?

I have a json array like this: [{“name”:“user1”,“phone”:”0001”},{“name”:“user2”,”phone”:”0002”}] How can parse that with php?

1st Jun 2018, 2:52 PM
hamid
hamid - avatar
1 Réponse
0
i think with json_decode() function
2nd Jun 2018, 7:27 AM
Elghozi Nasreddine
Elghozi Nasreddine - avatar