Im trying to rewrite php script to update data in database using jQuery. I want to send all values in array to php file by jQuery. The problem is that i can set static varia