J
JoeyP
Am I not able to build a string and pass it to the cgi class?
#!/usr/bin/ruby -w
require 'cgi'
mystring = ""
mystring << "\'bgcolor\' => \'blue\' "
cgi.body(mystring) {
This will not give me an error but the parameter for body shows up
blank.
if I write:
cgi.p { mystring } I can see that the string is formatted correctly.
Any ideas?
Thanks in advance
#!/usr/bin/ruby -w
require 'cgi'
mystring = ""
mystring << "\'bgcolor\' => \'blue\' "
cgi.body(mystring) {
This will not give me an error but the parameter for body shows up
blank.
if I write:
cgi.p { mystring } I can see that the string is formatted correctly.
Any ideas?
Thanks in advance