Why not send this as an array you can format as you like in the HTML?