Welcome Guest, Not a member yet? Register   Sign In
Retrieving Photos and Comments from Database to JSON
#5

[eluser]RMinor[/eluser]
Sure, I probably should've included that in the original post. Something like this would be great.

{
"photo_id": 1,
"photo_resized": "photo.jpg",
"photo_thumbnail": "photo_thumb.jpg",
"photo_album": 1,
"comments": {
"id": "1", "name": "Commenter", "comment": "This is a comment.", "comment_photo": "1"},
"id": "2", "name": "Commenter 2", "comment": "This is a comment again.", "comment_photo": "1"},
"id": "3", "name": "Commenter 3", "comment": "This is a comment yet again.", "comment_photo": "1"},
"id": "4", "name": "Commenter 4", "comment": "This is a comment one last time.", "comment_photo": "1"},
}
}


Messages In This Thread
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 08:22 AM
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 09:08 AM
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 09:11 AM
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 09:20 AM
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 09:29 AM
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 10:27 AM
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 11:08 AM
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 11:31 AM
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 11:40 AM
Retrieving Photos and Comments from Database to JSON - by El Forum - 05-23-2013, 05:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB