Tolong pilih kategori sesuai, jenis posting (pertanyaan atau bukan) dan sertakan tag/topik yang sesuai misal komputer, php, mysql, dll.
Promosi atau posting tidak pada tempatnya akan kami hapus.
Mencantumkan kode program di posting Anda, tolong ikuti aturan yang sesuai, baca http://diskusiweb.com/discussion/39204/aturan-cara-menyisipkan-kode-program-di-diskusiweb

Baca cara posting gambar/image di post Anda: http://www.diskusiweb.com/discussion/47345/cara-menyisipkan-menyertakan-image-pada-posting/p1

Menampilan data json array tree

siang jurangan
saya punya data json dari instargam berbentuk seperti ini

Array
(
[tag] => Array
(
[name] => mianggas
[content_advisory] =>
[media] => Array
(
[nodes] => Array
(
[0] => Array
(
[comments_disabled] =>
[id] => 1582377501937929179
[dimensions] => Array
(
[height] => 251
[width] => 480
)

[owner] => Array
(
[id] => 3428653797
)

[thumbnail_src] => https://scontent-sin6-2.cdninstagram.com/t51.2885-15/e35/c109.0.240.240/20837740_1408011369235273_7931261216394051584_n.jpg
[thumbnail_resources] => Array
(
)

[is_video] =>
[code] => BX1u_RHlIvb
[date] => 1502854119
[display_src] => https://scontent-sin6-2.cdninstagram.com/t51.2885-15/e35/20837740_1408011369235273_7931261216394051584_n.jpg
[comments] => Array
(
[count] => 0
)

[likes] => Array
(
[count] => 517
)

)

[1] => Array
(
[comments_disabled] =>
[id] => 821559045300999131
[dimensions] => Array
(
[height] => 640
[width] => 640
)

[owner] => Array
(
[id] => 534987867
)

[thumbnail_src] => https://scontent-sin6-2.cdninstagram.com/t51.2885-15/e15/1389013_784766208254022_2063027590_n.jpg
[thumbnail_resources] => Array
(
)

[is_video] =>
[code] => tmw5lRLNPb
[date] => 1412157491
[display_src] => https://scontent-sin6-2.cdninstagram.com/t51.2885-15/e15/1389013_784766208254022_2063027590_n.jpg

[comments] => Array
(
[count] => 0
)

[likes] => Array
(
[count] => 7
)

)

)

[count] => 3
[page_info] => Array
(
[has_next_page] =>
[end_cursor] =>
)

)

[top_posts] => Array
(
[nodes] => Array
(
)

)

)

)



kemudian berkeinginan menampilkan secara loop data date dan display_src saja dalam php,
mohon pencerahan, terima kasih
Sign In or Register to comment.