Ambil Data JSON

Gmana cara ambil data json kyak gini? udah coba pake script di internet gagal mulu

 stdClass Object ( [status] => 1 [data] => Array ( [0] => stdClass Object ( [id] => 1 [category] => Instagram Followers Indonesia [name] => Instagram Followers Indonesia IRV Aktip [BONUS++] [INSTAN] [price] => 40000 [min] => 100 [max] => 2000 [note] => REAL INDO , INPUT USERNAME ONLY JANGAN PAKE LINK , PROSES 0-10 JAM ) [1] => stdClass Object ( [id] => 2 [category] => Instagram Followers No Refill/Not Guaranteed [name] => Instagram Followers IRV 1 [price] => 7499 [min] => 100 [max] => 5000 [note] => irv 1 new ) [2] => stdClass Object ( [id] => 4 [category] => Instagram Followers No Refill/Not Guaranteed [name] => Instagram Followers IRV 3 [REAL] [price] => 10000 [min] => 200 [max] => 10000 [note] => ⚡️ SUPER INSTANT ⚡️ Instagram Followers[45K] [REAL] [NO REFUND - NO REFILL] ) [3] => stdClass Object ( [id] => 9 [category] => Instagram Likes [name] => Instagram Likes IRV 1 [price] => 1250 [min] => 100 [max] => 5000 [note] => New & INSTANT ) [4] => stdClass Object ( [id] => 11 [category] => Instagram Likes [name] => Instagram Likes IRV 3 ⚡️ SUPER INSTANT [price] => 2000 [min] => 100 [max] => 9000 [note] => ⚡️ SUPER INSTANT ⚡️ Instagram Likes [9K] [INSTANT] [MIN 100] ) [5] => stdClass Object ( [id] => 12 [category] => Instagram Views [name] => Instagram Views IRV 1 [999K] [REAL - INSTANT] [price] => 699 [min] => 100 [max] => 999000 [note] => [*Link Only], REAL Online, Super FAST ) [6] => stdClass Object ( [id] => 17 [category] => Instagram Auto Comments / Impressions / Saves [name] => Instagram Auto View [price] => 2000 [min] => 20 [max] => 1000000 [note] => USERNAME ONLY (Normal Speed) ) [7] => stdClass Object ( [id] => 27 [category] => Youtube Likes / Comments / Favs... [name] => Youtube Shares [price] => 35000 [min] => 500 [max] => 150000 [note] => (INSTANT - 1500 / Day Speed) ) [8] => stdClass Object ( [id] => 38 [category] => SoundCloud [name] => SoundCloud Followers R1 [price] => 34000 [min] => 20 [max] => 1000000 [note] => [FAST] ) [9] => stdClass Object ( [id] => 40 [category] => SoundCloud [name] => SoundCloud Plays [price] => 1500 [min] => 20 [max] => 10000000 [note] => (SUPER FAST) (S1) [MULTIPLE OF 100] Quantity = MULTIPLE OF 100 ONLY ! ) [10] => stdClass Object ( [id] => 42 [category] => Pinterest [name] => Pinterest Followers [price] => 42000 [min] => 20 [max] => 1000000000 [note] => (UNLIMITED) [INSTANT] ) [11] => stdClass Object ( [id] => 44 [category] => Pinterest [name] => Pinterest RePins [price] => 42000 [min] => 20 [max] => 1000000 [note] => (UNLIMITED) [INSTANT] ) [12] => stdClass Object ( [id] => 54 [category] => Instagram Likes [name] => Instagram Likes IRV 4 [.50K] [REAL - INSTANT] [price] => 3000 [min] => 20 [max] => 50000 [note] => [50K] [REAL - INSTANT] ) [13] => stdClass Object ( [id] => 63 [category] => Instagram Likes [name] => Instagram Likes IRVANKEDE 1 [ New & Best Server ] [price] => 1800 [min] => 100 [max] => 15000 [note] => [*Link Only], REAL HQ, Super FAST ) [14] => stdClass Object ( [id] => 107 [category] => Telegram [name] => Telegram Channel Members [price] => 105000 [min] => 100 [max] => 25000 [note] => MAX 25K ) [15] =>
avatar ahmaddaqiqi
@ahmaddaqiqi

1 Kontribusi 1 Poin

Diperbarui 6 tahun yang lalu

2 Jawaban:

$status = $varJson->status;

avatar odhier
@odhier

38 Kontribusi 24 Poin

Dipost 6 tahun yang lalu

extract jsonnya dulu $data = json_decode($json);

baru ambil data json yang sudah di extract echo $data->status;

avatar lionkip
@lionkip

65 Kontribusi 49 Poin

Dipost 6 tahun yang lalu

Login untuk ikut Jawaban