Hi,
I have simple html form and i need to pass those values to xxx.rb
Lets say user inputs some values:
textbox1 -> Paul
textbox2 -> Smith
textbox3 -> M
in xxx.rb i have this line of code:
db.execute “INSERT INTO Kirjed VALUES (date(‘now’),‘Paul’,‘Smith’,‘M’)”
Works fine, puts data into sqlite database.
How can i put html form vales into sqlite database when user submits
those values by pressing a button.
I’m not figuring out this from Net::HTTP
Simple example would be appreciated.