updatePassword($data_id, $data->id, $data->password ); } catch (Exception $e) { $newName = $e->getMessage(); } echo json_encode($newName); } ?>