Php json decode array foreach3/17/2023 ![]() "\n" Īnyway if you are not sure about how an array is built you could print it via: print_r($json) If you want to have items: : foreach ($json as $address)Įcho "items:". Hope that can help someone, I know it helped me.Solution 1 $string = file_get_contents('./string.json') If(isset( $validItemsList )
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |