So I'm storing some XML in a table, and using the MySQL 'COMPRESS' function like this:
$query = "SELECT UNCOMPRESS(table_row) FROM database WHERE this = 'that'";
$mysqli = $this->ConnectDB();
$result = $mysqli->query($query);
$task_result = $task->fetch_assoc();
This works of course, but it renames the key within the returned associative array from 'table_row'
to 'UNCOMPRESS(table_row)'
.
Is there a way to prevent this renaming?