Problem with running php scripts on Webserver with urlconnection

Avoid creating the JSON string by yourself without proper encoding, let the Xojo JSON object encode it for you as string to avoid broken things like:

{ “a” : " sdfasda ‘asdfa’ and “asdfa” sdfg" }