Let's say I have this:
var achievementData = {
"achievements": {
0: {
"id": 0,
"title": "All Around Submitter",
"description": "Submit and approved one piece of content in all six areas.",
"xp": 500,
"level_req": 3
},
1: {
"id": 1,
"title": "Worldwide Photographer",
"description": "Submit and approved one piece of image content in all six areas.",
"xp": 1200,
"level_req": 1
},
2: {
"id": 2,
"title": "Super Submitter",
"description": "Get approved 10 players and 2 clubs in one week or less.",
"xp": 2500,
"level_req": 5
},
}
};
That's JavaScript, so how I would turn it into PHP? I tried changing brackets and finding information on PHP arrays but it seems it's just SIMPLE examples.