Possible Duplicate:
JSON code for my radio station website?

This really is a part of my radio station website's PHP coding: http://pastebin.com/D1TUMNSc - full coding

I have got the PHP to operate but obtaining the JSON to operate is a concern, I am unsure how to get it done using the variables I have got...

Presently the schedule page shows as blank, since I am unsure how to proceed.

The Javascript is here now: http://pastebin.com/P1ydnVCK

Essentially, I am getting trouble trying to produce a JSON to suit inside the variables from the Javascript, it's a new comer to me, el born area of programming...

It's intended to be an agenda which shows all shows on certain days, e.g.


00:00 - 02:00 Someone In Particular

02:00 - 06:00 Joe Bloggs

06:00 - 10:00 Breakfast Show

10:00 - 14:00 More Music Now

14:00 - 19:00 Someone In Particular

19:00 - 22:00 Non-Stop Hits

22:00 - 00:00 Late Evening Music

etc. for that relaxation each week but is not working... despite my best efforts.

An amount you suggest?

I have were built with a to research the internet at JSON assets but am less than sure how to proceed for that one!