Another CSFR question - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Another CSFR question (/showthread.php?tid=41547) Pages:
1
2
|
Another CSFR question - El Forum - 05-12-2011 [eluser]ELRafael[/eluser] Your code is OK. So I go to test here, in my local env. This is my view http://d.pr/OzJt This is my controller http://d.pr/qKQ8 In a first try, i got an error. My config.php Code: $config['compress_output'] = TRUE; The problem is in ajax() method. I have an echo json_encode. With the compress_output, i can't do echo inside controllers. Maybe is not your problem, i dunno. |