Displaying source code.

Results 1 to 2 of 2

Thread: Displaying source code.

  1. #1
    Join Date
    Dec 1969

    Default Displaying source code.

    How would you go about displaying generated HTML source code. After a variable has been entered to specify width, on the submit, the gel is generated. What would be the easiest way to take this source code and display it for the user. The only changing piece would be the single variable...<BR><BR><BR><BR>thankss!<BR>

  2. #2
    Join Date
    Dec 1969

    Default Assuming you get it in a string...

    &#060;PRE&#062;<BR>&#060;% = Server.HTMLEncode( theGeneratedHTMLasStringVariable ) %&#062;<BR>&#060;/PRE&#062;<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts