making progress on the mysql part :)
It's making the  table and everything it needs now.
Just have to add check if table exists and so on. And if it has to.
Update a table..