Data Downloaded, errors

This is the iOS and php database exercise. I upgraded the Swift version to 5 and the code build succeeded with error
Data downloaded

Error Domain=NSCocoaErrorDomain Code=3840 “Invalid value around character 0.” UserInfo={NSDebugDescription=Invalid value around character 0.}

both the simulator and phone, two separate builds, screen displayed Locations and the table was blank.

Swift and php code at http://www.OpticalAutomation.com/phpchris/phoshhris.zip

My Service1.php URL is http://www.OpticalAutomation.com/phpchris/Service1.php

images, phpMyAdmin, Xcode error with URL showing

Yes, I repaired the first line of Service1.php and the swift reads it as expected !!!

Completed. Thank you, James Avakian, Developer