DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
decode a nested JSON with php
foreach($json as $elem) { echo( $elem['name']." - ".$elem['favourite']['colour'] ); echo("<br/>"); }
Source by www.opentechguides.com #
PREVIOUS
NEXT
Tagged:
#decode
#nested
#JSON
#php
ADD COMMENT
Topic
COMMENT
Name
6+8 =
Submit