|
Pages: [1]
|
 |
|
Author
|
Topic: mold and string concatenation (Read 262 times)
|
|
rebolnotes
|
I slightly modified the script found here: http://www.rebol.com/docs/cgi2.htmlforeach [var value] decode-cgi system/options/cgi/query-string [ emit [<TR><TD> mold var </TD> <TD> <a href=" http://www." mold value ".com"> mold value </a></TD></TR>] ] ---> It doesn't want to concatenate " http://www." mold value ".com (the url stays http://www.) why ? Also if I want to filter on field and I use if mold var = "Field" It doesn't seem to work either as submit value is not excluded.
|
|
|
|
« Last Edit: June 20, 2007, 12:49:58 AM by rebolnotes »
|
Logged
|
|
|
|
|
Gabriele
|
First, you don't need MOLD there. Second, you'll need to use JOIN or REJOIN or use a string instead of a tag, eg: {<a href=" http://www.} value {.com">} value </a>
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |