Direct echo in Controller - bad parctice? |
or use output class
http://www.codeigniter.com/userguide3/li...set_output http://php.net/manual/fr/json.constants.php PHP Code: $response = array('status' => 'OK'); result : Code: { |
Welcome Guest, Not a member yet? Register Sign In |