Android Question JSON Post - Strange Character from Windows Machine

JohnD

Active Member
Licensed User
Longtime User
This question is based on the "Connecting to a MySQL Database Tutorial" - MySQL.bas tutorial project which connects to a DB. When I post json to a php page I get a strange trailing character in my value field.

php_chr.PNG


I am trying to send 1 parameter by way of JSON to the server for query processing. I included the project that I used - in JSON_Post.zip, along with the changes marked. Also included is countries_json.zip -> .php, in case you wanted to copy it to the server to test the problem.

How do I get rid of this trailing character? Thanks in advance, JD.
 

Attachments

  • JSON_Post.zip
    9.5 KB · Views: 162
  • countries_json.zip
    669 bytes · Views: 141
Top