How to load json file in codeigniter... newbie - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: How to load json file in codeigniter... newbie (/showthread.php?tid=55906) |
How to load json file in codeigniter... newbie - El Forum - 11-15-2012 [eluser]danny_ci[/eluser] Hi, everyone... I want to ask something about how to load json file in codeigniter But before load the json file, i want to pass some data to json file Any idea for this?? Thanks before Here is some code to load json file in jquery event calendar Code: $("#calendar").eventCalendar({ How to load json file in codeigniter... newbie - El Forum - 11-17-2012 [eluser]InsiteFX[/eluser] See the PHP manual on json decode and json encode. How to load json file in codeigniter... newbie - El Forum - 11-18-2012 [eluser]danny_ci[/eluser] I have see the manual about the json decoden and json encode. But i have the problem with json data. There is 2 ways to pass the json data : 1. It write to some file 2. It write to javascript But write to javascript there is some limit length for the javascript. So i have to write to json file. Thanks before How to load json file in codeigniter... newbie - El Forum - 11-18-2012 [eluser]InsiteFX[/eluser] Read and Write Json Files |