How to load json file in codeigniter... newbie

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
  eventsjson: 'file.json' //here to load json file

See the PHP manual on json decode and json encode.

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

Read and Write Json Files

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.