Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: URLEncoding |
From: | Brouwers, P. |
Date: | Thu, 23 Mar 2000 09:15:36 GMT |
When pulling text from a database you would use HTML Encoding like the
following ASP function:
<%
Function Display(strDbText)
Dim strTemp
strTemp = Server.HTMLEncode(strDbText)
strTemp = Replace(strTemp, "xxxxxxx",
" ", 1, -1, 1)
strTemp = Replace(strTemp, "xxxxxx",
" ", 1, -1, 1)
strTemp = Replace(strTemp, "xxxxx",
" ", 1, -1, 1)
strTemp = Replace(strTemp, "xxxx", " ", 1,
-1, 1)
strTemp = Replace(strTemp, "xxx", " ", 1, -1, 1)
strTemp = Replace(strTemp, vbTab, " ",
1, -1, 1)
strTemp = Replace(strTemp, vbCrLf, "<BR>" & vbCrLf, 1, -1, 1)
Display = strTemp
End Function
%>
It will retain lay-out of your text, and display Bold,Italics etc, if you
inserted the proper HTML tags, <B> </B> . Well you know what I mean.
Text will be displayed as HTML text.
Peter
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: URLEncoding, Cheri Harder
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]