This is what the string looks like in the MySQL database:
{"date":"2023-03-16","manager":"\u00a0Daniel Snyman","driver":"Japie Pretorius","regNr":"123GP","model":"Mercedes\n","engineOil":"engineOil","hydraulicOil":"hydraulicOil","htf":"htf","coolant":"coolant","radiator":"radiator","batterySecWatLev":"batterySecWatLev","batteryPolesClamps":"batteryPolesClamps","wheelsNuts":"wheelsNuts","mastCarriageRollers":"mastCarriageRollers","operatorSeat":"operatorSeat","hydrCylindSteering":"hydrCylindSteering","hydrHoses":"hydrHoses","airFilter":"airFilter","brakeFluid":"brakeFluid","brakesHandbrake":"brakesHandbrake","hourMeterGauges":"hourMeterGauges","lightsHooter":"lightsHooter","leversControls":"leversControls","footPedals":"footPedals","beaconLightOrange":"beaconLightOrange","trailerPlug":"trailerPlug","serviceBook":"yes","radioFaceWorking":"yes","spareWheel":"yes","jackAndTools":"yes","triangle":"yes","fireExtinghuiser":"yes","HMRStart":"777","HMRFinnish":"555","drivSignature":"Japie Pretorius","supervSignature":"Daniel Snyman"}
If I copy this string from the broswer and display it with json decode as a normal php array it works fine. But if I try directly through the first code example that I showed it doesnt work with json decode.