1
vote
1answer
51 views

JSON encode multiplies arrays as single array

$array = array( $this->_order->revenue_seller($value,$from,$to), $this->_order->refund_seller($value,$from,$to), $this->_order->customers_seller($value,$from,$to), ...
2
votes
1answer
48 views

JSON insert records into Salesforce

Hi this is a long shot but I'm attempting to insert data into a sales-force Object through an API call from PHP(Codeigniter framework). I am using CURL protocol and the record is not being inserted ...
0
votes
1answer
22 views

Show valid JSON array from query

I have a function to show a JSON array containing multiple registration id and data. I am using CodeIgniter. I tried to use notification using this library. public function ...
0
votes
3answers
59 views

Inserting array element using foreach

Hi i am working on a simple script where i would like to output the result of a given SQL query into JSON. This is what i have so far: $player = $this->game->getPlayer(5); $leaderboard= ...
0
votes
1answer
51 views

How to use ajax with codeigniter's modules

I have a page written in codeigniter framework. Now I want to add a button to page (eg 'show more') that will get data with 'ajax.php' from the database and display them on the site, but I do not want ...
1
vote
2answers
30 views

Reading a json object in codeigniter

Im trying to use a controller function to read a JSON object sent by ajax, but im not able to read the JSON in php. This is the jquery script. I've tried setting the $(document).on('ready', ...
0
votes
0answers
55 views

Differences between JSON response with Safari and Safari Mobile

I noticing some strange behavior between different browsers with a JSON response. The browser i'm having the issue with is Safari Mobile, specifically the iOS simulator. I'm using Codeigniter and am ...
0
votes
2answers
54 views

JQuery Datatables + Codeigniter (Static cols)

I am using Codeigniter with JQuery Datatables to present data from MYSQL database with realtime updates via AJAX/JSON requests. I am not the original developer of this code that's why I am not being ...
0
votes
2answers
44 views

json object directly from my view HTML

i'm using phonegap in order to make an application, then i'm using CodeIgniter as an API. To get the data, i'm using a simple $.post from jQuery to a REST URL in CodeIgniter. ...
0
votes
0answers
27 views

AJAX rearrangement of post display order

I'm not looking for a full walk-through here (although that's quite welcome :p), but if anyone can get me started with a tutorial / article or has suggestions for plugins / libraries, that would help. ...
0
votes
0answers
54 views

convert from JSON to Array in REST Codeigniter

i'm newbie in REST Codeigniter... so,my problem is how to convert result from json to array??? this is my coding : $id=$this->input->get('id'); $respon = ...
0
votes
0answers
48 views

Best way to manage site configurations [closed]

What is the best way to manage website settings? I'm going to make a distinction that configuration would be more related to database connections, ftp information etc. Settings is related to theme ...
2
votes
3answers
347 views

Creating Google Pie Chart based on JSON data using CodeIgniter

I tried to create a pie chart based on example here In my controller (mycontroller/json) i have the following code: public function json(){ $whatever = '{ "cols": [ ...
0
votes
2answers
43 views

Traversing and displaying JSON properties

How do I traverse and display the from_user and text properties from this page: http://search.twitter.com/search.json?q=stackexchange using this code?: $json = ...
0
votes
1answer
39 views

How do I loop through JSON object

How do I traverse and display the names in the following JSON using CodeIgniter? <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Search extends CI_Controller { ...

1 2 3 4 5 15
15 30 50 per page