Tagged Questions
0
votes
3answers
232 views
PHP - json_encode multiple arrays with same values count
I need to encode three php arrays that all have the same amount of values. From there it has to be json_encoded.
Array ( [0] => Title1
[1] => 320 KB/s 5.0 MB 1:24
[2] => ...
0
votes
1answer
103 views
Need to remove squre bracket json_encode(array())
Below is my code and it return me json array but i need to remove square bracket from response
$sql = "select user_loginId,user_password from wnl_user where user_loginId='student01' and ...
0
votes
1answer
87 views
How to separate JsonArray data
I got confused how to separate JsonArray data. I want to separate the received chat messages so it appear one by one in each bubble not in becoming into one big bubble.
What am I supposed to do, to ...
0
votes
2answers
376 views
How to Extract json array within an array in android
I am trying to pass some json encoded data from cakephp to android, I have a problem when passing the data
I use
echo json_encode($todaysdata);
exit();
in CakePhp and when I debug this code ...
1
vote
2answers
822 views
JSONX to JSON transformation
I have some XML data dumped from my database and I need to re-format it into JSON. I am using an IBM DataPower database, so I actually need to transform that XML to JSONx and then use IBM's default ...
0
votes
2answers
838 views
JSON array and Android list view not working
Ok so i have a php script:
<?php
mysql_connect("localhost","root","root");
mysql_select_db("FYP");
$sql=mysql_query("select team_name, games_played, games_won,
games_drawn, games_lost, ...