Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/03/2021 in all areas

  1. The string you posted appears to be missing its enclosing { .. }. With those it becomes a correctly formatted JSON string... $details = '{"customer_details":{"email":"emailaddress@gmail.com","tax_exempt":"none","tax_ids":[]}}'; you can then decode the string... $data = json_decode($details); then access the email address with... $email = $data->customer_details->email;
    1 point
This leaderboard is set to New York/GMT-04:00
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.