Re: Euphoria CGI forms
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 05, 2004
- 584 views
On Mon, 5 Jul 2004 07:28:50 -0400, Michelle Rogers <michellerogers at bellsouth.net> wrote: >I haven't tried that, yet, to see if it works. But, just out of >curiosity...can you tell me the 'why"..or the logic of doing that? You are asking it to print literal text, not the result of an expression. Try running this (as a standalone program): include misc.e integer theval theval=8 puts(1,"<input type\"hidden\" name=\"hiddenvariable\" value=theval>\n\n") puts(1,"<input type\"hidden\" name=\"hiddenvariable\" value=sprint(theval)>\n\n") puts(1,"<input type\"hidden\" name=\"hiddenvariable\" value="&sprint(theval)&">\n\n") printf(1,"The value of %s is %d\n",{"1+1",1+1}) Regards, Pete PS Just to muddy the waters a bit, if "theval" was say a javascript or somesuch variable, you _would_ output its alpha name from the Eu program, but this is an Eu variable. That might be something you have seen which threw you..