Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How to fill out textarea in html form
Terry Todd
9/20/2008 5:37:00 PM
Hi,
So sorry for this naive question ... I'm new to ruby as of several days
ago.
I'm porting some CGI code from perl and I'm trying to use the Ruby CGI
objects to do everything. In one of my forms I've got a cgi.textarea
that I would like to populate with text taken from an mSQL database. To
do this I was using a DBI.prepare and then fetching each row. I think
this might work fine if I was formatting the html directly since I could
puts it to the standard output. But I can't figure out how to have the
text appear inside the textarea defined by cgi.textarea.
Any help or suggestions would be much appreciated.
Thanks,
Terry
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to fill out textarea in html form
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password