php - HttpURLConnection check whether JSON string has been inserted in mysql successfully -
i implemented android code send json string server. getting json string '{"mac": "23:a5:j0:06:c6:e9", "latitude":84.16898451,"longitude":3.16561387,"route": 1}' output in doinbackground method , getting output output of getresponsecode: the output of getresponsecode: 200 in client side. i checked php file in localhost , when fresh index.php homepage, bus table being created , data updated if change values in json string. not connect s4 device localhost directly check since using public hotspot. i have uploaded index.php file online file manager in htdocs directory on byethost.com server, table bus being created no record being inserted , updated. is possible httpurlconnection check whether data has been inserted/updated in bus table? should add path first parameter of file_get_contents method else php://input ? doinbackground method: protected void doinbackground(string... params) { // todo auto-ge