This function syncs the license key provided in the variableservice with the MySQL database. In the future, this allows us to prevent tampering with the variableservice and license service. We may even obfuscate the code in the end with ioncube once the variableservice is finished.
Made the code look a bit better and added a way for the admin options to save. (I later realized I could have done this using a much easier way. I'm just built different and it works. If it aint broke don't fix it.)
The replacement of the placeholder is just a work in progress. I've also discovered a few more things about PHP now, including how to do variables and stuff.