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
I found what was wrong with JSON. I found at the beginning a character "?" added somewhere in the code and it was not visible until I stored the logCat entry to a file. So I added the code line and it works fine now.
result = result.substring(1);
I hope it may help someone in the future thanx to Waqas