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.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to