I am trying to get data from a php file.
This is my PHP code:
$sql=mysql_query(\"select * from `tracking`\");
while($row=mysql_fetch_assoc($sql))
$output
Put this lines:
while(result.charAt(0)!='[') //or result.charAt(0)!='{'
{
result = result.substring(1);
Log.d("Tag1", "remove 1st char");
}
after:
result = sb.toString();
To become like this:;
result = sb.toString();
while(result.charAt(0)!='[')
{
result = result.substring(1);
Log.d("Tag1", "remove 1st char");
}