In main.php, made the save function live, it can now save values in the text field to the database.