I am trying to develop an app that can register users to app taking their email, name, password..ext. I am having troubling connecting to the sql sever database that i have set up. I believe i understand that it need to be a global function so that users will stay logged in when move to different cards or sub stacks. I found this
"put revOpenDatabase("MySQL","127.0.0.1","my_first_database,"myLogin","myPassword") into dbID" code somewhere on the forum,
But when i input my my database host userid and password i get an error.

Also if any could help me on live code to request to add new user information to data base.