ExtJS store create record with PHP and MySQL ExtJS store create record with PHP and MySQL codeigniter codeigniter

ExtJS store create record with PHP and MySQL


try this. and is work

php

public function addUser(){    $input_data = json_decode(trim(file_get_contents('php://input')), true);    $data = $input_data['data'];    $add = json_decode($this->db->insert('t_users',$data));    echo json_encode($add);}