Welcome Guest, Not a member yet? Register   Sign In
[Solved] Unable to get data ajax using get
#3

(03-19-2017, 07:11 AM)ivantcholakov Wrote:
Code:
$this->output->set_header('Content-Type: application/json; charset=utf-8');
$this->output->set_output(json_encode($data));

That worked thanks
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
RE: Unable to get data ajax using get - by wolfgang1983 - 03-19-2017, 02:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB