DuyKhang $json = "{"id":"123456","trangthai":"2","name":"NGUYEN THIEN TRUNG","phone":"0934274322","message":"Bo banh cuon ","status":"00"}"; $decode = json_decode($json); // lấy giá trị nào thì echo giá trị đó ( $decode->id, $decode->trangthai,...)