Moved string compiler for arduino data into postData() method

Making this method more transferable and piece together the data only
when it is looking to send.
Retrieve data from mysql and display in HTML