Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"dDsdE4AlB7P5YYd4fWbYTQKCLPh1":{"email":"abhi@gmail.com","name":"abhishek"},
- "z1ceiLhdh9YVu7lGnVvqDWoWHFH3":{"email":"ravi@gmail.com","name":"ravish"},
- "ghg76JHG8jhkj7GHGJ763kjhFF45":{"email":"John@gmail.com","name":"John"}}
- $url = 'https://xxxx.firebaseio.com/users.json'; // path to JSON file
- $data = file_get_contents($url); // put the contents of the file into a variable
- $characters = json_decode($data); // decode the JSON feed
- echo $characters->dDsdE4AlB7P5YYd4fWbYTQKCLPh1->name;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement