Hello
Is there a template out there which shows how to connect to a database, open it, insert a user’s username, password, and email details - I have in mind a ‘register new user’ form on a Web site - and close the connection to that database.
I ask because according to the mySQL Web site, you need to use CREATE USER to insert new users in a database yet I am sure I have seen PhP scripts in the past which don’t use CREATE USER, so it’s a bit confusing!
Thanks for any help.