I'd like code to take data from a mysql database and then pass that to a Javascript array and then from the array back to the database. Ideally I'd like to pass the data using AJAX and have the server side written in PHP. I've thought of somthing like. PHP retreives data from MYSQL translates it to JSON or XML, file retrieved by Javascript function which puts data into an array which will be an object. I'm open to suggestions about the best method and architecture. I want...