Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 840 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 840 Bytes

Processing-to-mySQL

Sending Data from Processing (Java) to mySQL using PHP and then parsing it with JSON and exporting it to Javascript using jQuery's AJAX.

You will need a webserver with MySQL and PHP installed on it. Make sure you have backed up your data before using this code. If you are using this repository, make sure you have a basic understanding of MySQL, PHP, JS and Java.

You will need to install the HTTP Request Processing library by Rune and Shiffman along with the Processing NET library. It is highly recommended to also install PHPMyAdmin on your server in order to interact with your database, and in helping understanding the query language.

Note: Make sure that the data id that you're sending from Processing to your server (in our case Atak, Proeflokaal, etc.) is the same as the row names in your database.