Fix write method (using a prepared statement)
Now, finally, user input gets really saved to a database!