[eluser]CI_adis[/eluser]
Hi all,
I'm stuck with something... I tried to integrate Ext JS with CI and it works well. But when I submit something from Ext JS it returns a JSON object and I cannot read the content in my CI controller. The JSON is:
Code:
{
"tasks": [
{
"taskId": "4",
"taskCode": "777",
"taskDescription": "Fix this",
"taskDuration": "1",
"reqCompletionDateTime": "2011-08-25T12:00:00",
"customerId": "",
"customerCode": "",
"customerName": ""
}
]
}
But when I want to read this in my controller:
Code:
var_dump($this->input->post());
It is giving me the error:
Quote:<pre class='xdebug-var-dump' dir='ltr'><small>boolean</small> <font color='#75507b'>false</font>
</pre>
The complete function in my controller:
Code:
function update_all_tasks()
{
var_dump($this->input->post());
}
What can this be, I cannot find anything else that is weird??
If I create a test.html with one textfield and enter my json in that field I can read the response...