title: How can I package html data (html text, images, etc) in PHP so a client can access it (iOS, Android)
body: <p>I'm building an API in PHP which accesses a mysql database, which stores a series of articles, containing the html-formatted text and images. I am able to echo the html to the device using an http request, and although the images display (linked by img src) but this doesn't download the html and images in one package. I will want to archive the articles individually so it would be nice to download it separately. I'm considering zipping it up with PHP and downloading it with the client app, but I'm not sure. Any advice is appreciated.</p>