image with json and iphone
Posted
by alecnash
on Stack Overflow
See other posts from Stack Overflow
or by alecnash
Published on 2010-05-18T07:31:18Z
Indexed on
2010/05/18
7:51 UTC
Read the original article
Hit count: 312
Hi, I've got some images saved inside a db in a server and want to use them for my iphone. I created a php file so I can access them with json, got some questions though.
- I save all the text data from the db to a nsdictonary and it works fine. For the images should I use nsdata?
- Should I write a new php file for getting the image or is one enough because I am using an array to store my objects and then I use json_encode($arr) for json. Is it ok to store data to an array or is everything gonna crash?
© Stack Overflow or respective owner