I have five separate, although related, strings of text which I need to transfer from the server (PHP) to the client (JS). I intend to use AJAX, but I've only ever used AJAX for transmitting a single line of plain text.
So, I'm wondering what options I should explore, XML, JSON, etc. in order to best transfer the information, and how to prepare/receive the information.