0
Boas, I would like to filter the date of a json file. The date I receive is something like this.
{
"max_new_quota": 21474836480,
"username": "[email protected]",
"rl": {
"value": "60",
"frame": "h"
},
"is_relayed": 0,
"name": "User Name",
"active": "✓",
"active_int": 1,
"domain": "domain.com",
"local_part": "username",
"quota": 3221225472,
"attributes": {
"force_pw_update": "0",
"tls_enforce_in": "1",
"tls_enforce_out": "1",
"sogo_access": "0",
"mailbox_format": "maildir:",
"quarantine_notification": "never"
},
"quota_used": 10448756,
"percent_in_use": 0,
"messages": 125,
"spam_aliases": 0,
"percent_class": "success"
}
I wanted to know how I can filter this in php to for example show the quota and the quota used and so on. Thank you
Thank you so much for your comment already helped me a lot. I would just like to know how I could get the values within rl
– José Maria Martins
@Josémartins
$data['rl']['value']
and$data['rl']['frame']
– novic