-
Hi,
I'm planning on creating a web that will allow different
users to submit their codes. These codes will be stored in a Memo Field. The problem that I'm having is that when ever I display the contents of the Memo Field it
Jumbles up every thing. How can I display the contents of
the Memo field in the same way (format) in which it was enter by the users. A very good example is this Bulletin
Board.
Any Suggestions??
-
Two options
(1)
Simple way is this
Memotext = replace(Memotext, vbcrlf, "<BR>")
html isn't recognising the carrage returns.
(2)
Better way, like this site I assume is have a tag like [ code ] and a "VBtext-> html coloured_code" activex dll (I have one somewhere) then have the asp file use method 1 for normal text and the createobject on the dll for code text.
I've been meaning to do this too but I don't have an NT server with static IP for a server. I have something similar on the intranet though.