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

My Service1.php URL is

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