How to parse json array with php? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
0
i think with json_decode() function
2nd Jun 2018, 7:27 AM
Elghozi Nasreddine
Elghozi Nasreddine - avatar