First of all I would just like to thank you for your help!
Now before I get into this I would like to state that I am good with PHP, but know NOTHING about javascript (I know this is an issue).
So I have a .json.php file for an API that I am using that takes in information in this format:
{
"success": 1,
"result": [
{
"id": "293",
"title": "This is warning class event",
"url": "http://www.example.com/",
"class": "event-warning",
"start": "1362938400000",
"end": "1363197686300"
},
{
"id": "294",
"title": "This is information class ",
"url": "http://www.example.com/",
"class": "event-info",
"start": "1363111200000",
"end": "1363284086400"
}
]
}
I am going to make a form that gets this information and puts it into a MySQL database, I know how to do this. Lets say I get the values from the MySQL database and they are stored like $data['id'], where id is the value in the above file. What I don't know is how to take those values and put it into this JSON PHP file above in the proper format. Is it possible and how do I do it?