This is just a basic example, it may not be the most secure but it will give you an example of how to make somthing like it.
Note: Before using for the first time insert CreateTable(); directly underneath //#CLIENTSIDE and then save, once done once delete CreateTable(); from underneath //#CLIENTSIDE
Also note this does not actually do anything if you login.
But you could easily make it into a functional login.
Please bear in mind this is my first functional SQL based script, any advice/feedback is appreciated
Things to add:
Make it so if the account already exists it wont say "Account Created".
Done!
Some sort of password encryption system.
In Progress!
Make it so you cannot add two accounts by changing weather the first letter is in upper-case or not.
Done!
The script is attached.