Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- post '/insert_users/' do
- conn = TinyTds::Client.new(...)
- username = params[:username]
- password = params[:password]
- phone_number = params[:phone_number]
- profile_state = params[:profile_state]
- clasa = params[:clasa]
- sql = "insert into ServerUsers(Username, Passwords,Phone_Number, Profile_State, Class) values('username, password, phone_number, profile_state, clasa')"
- cursor = conn.execute(sql)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement