<?php // MSSQL server side $data = [ 1 => 'hello', 2 => 'world', ]; // Imagine $data above is the array of rows returned by the db query header('Content-Type: application/json'); echo json_encode($data); exit; // IONOS Side $json = file_get_contents('http://your-database-server/some/url/or/other'); $data = json_decode(true); // Now do your updates // NB This is an INSECURE example, people who know the URL can see this data!
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`