|
Pages: [1]
|
 |
|
Author
|
Topic: how to retreive data from rebDB? (Read 533 times)
|
newbie
Guest
|
Hi, how to retreive the data from the database and display the result on to the textbox or label in cgi format. Thank you
|
|
|
|
|
Logged
|
|
|
|
|
Ashley
|
I'm no CGI expert, but in general terms you might look at something like: foreach [col1 col2] db [select [col1 col2] from table][ print rejoin ["<tag>" col1 "</tag>"] print rejoin ["<tag>" col2 "</tag>"] ]
You might also want to check out the following REBOL functions for some inspiration: [li]build-markup [li]build-tag [li]parse-xml
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |