I have a json file where I try to get the first value (the hash) but have absolutely no idea how.
"usersauth": {
"nufj48597sdfnvsdf7": 23972
}
when I try to get this data with
$userauth = $decode['usersauth']; and $userauth = $decode['usersauth'][0];
both tries dont work. The first saves "Array" in database, the second just a blank field. Would be very happy if someone has an idea how this works. I searched for 2 days on google but could not find anything about it.