Hej!...
jag sitter här skriver lite lektioner i ASP..
det här vill inte visa sig på sidan..
[röd]
<% Response.write "Välkommen till min hemsida" %>
Idag är det<%= Date %>
[/röd]
använder mig av följande kod
<%
strPress = Recset("lektion")
strPress = Replace (strPress,vbCrLf,"<br>")
strPress = Replace(strPress,"[fet]","<B>")
strPress = Replace(strPress,"[/fet]","</B>")
strPress = Replace(strPress,"[b]","<Big>")
strPress = Replace(strPress,"[/b]","</Big>")
strPress = Replace(strPress, "[url]", "<a href=""")
strPress = Replace(strPress, "[/url]", "</a>")
strPress = Replace(strPress, "[mitten]", "<center>")
strPress = Replace(strPress, "[/mitten]", "</center>")
strPress = Replace(strPress,"","<u>")
strPress = Replace(strPress,"","</u>")
strPress = Replace(strPress,"","<i>")
strPress = Replace(strPress,"","</i>")
strPress = Replace(strPress,"[vit]","<font color=""#ffffff"">")
strPress = Replace(strPress,"[/vit]","</font>")
strPress = Replace(strPress,"[blå]","<font color=""#0000FF"">")
strPress = Replace(strPress,"[/blå]","</font>")
strPress = Replace(strPress,"[gul]","<font color=""#FFFF00"">")
strPress = Replace(strPress,"[/gul]","</font>")
strPress = Replace(strPress,"[röd]","<font color=""#FF0000"">")
strPress = Replace(strPress,"[/röd]","</font>")
strPress = Replace(strPress,"[orange]","<font color=""#FF9933"">")
strPress = Replace(strPress,"[/orange]","</font>")
strPress = Replace(strPress,"[grön]","<font color=""#00CC00"">")
strPress = Replace(strPress,"[/grön]","</font>")
strPress = Replace(strPress,"[grå]","<font color=""#999999"">")
strPress = Replace(strPress,"[/grå]","</font>")
strPress = Replace(strPress,"[rosa]","<font color=""#FF6699"">")
strPress = Replace(strPress,"[/rosa]","</font>")
strPress = Replace(strPress,"[lila]","<font color=""#660066"">")
strPress = Replace(strPress,"[/lila]","</font>")
strPress = Replace(strPress,"[ljusblå]","<font color=""#CCCCFF"">")
strPress = Replace(strPress,"[/ljusblå]","</font>")
Response.Write strPress
%>
när jag sen kollar på lektionen.. alltså efter att det har sparats i databasen
blir det bara
"idag är det "
jag vill att koden ska visa sig..