navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

retain HTML with spooky diet

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> retain HTML with spooky diet
Page: [1]
 
AllenD

 

Posts: 258
From: Dayton, OH, USA
Status: offline

 
retain HTML with spooky diet - 10/19/2002 14:55:00   
How do I show HTML values when putting the DRW code on a diet? It is easy to do with the non-diet by selecting " show as html" . But if I have a field that has markup' s, how can I have them displayed? Right now I am using

<%=replace(FP_FieldVal(fp_rs," tMemo" ),chr(10),"  <br>" )%>


To retain formatting, but html is lost...Thanks.
ASPPlayground

 

Posts: 122
Joined: 6/25/2002
From: Toronto, Canada
Status: offline

 
RE: retain HTML with spooky diet - 10/19/2002 17:54:11   
Try this:

<%=replace(replace(replace(FP_FieldVal(fp_rs," tMemo" ),chr(10),"  <br>" )," &gt;" ," >" )," &lt;" ," <" )%>


_____________________________

Samuel Chou

ASPPlayground.NET Developer

(in reply to AllenD)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: retain HTML with spooky diet - 10/19/2002 23:16:55   
Also, you should be able to change the function to FP_FieldHTML instead of FP_FieldVal

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to AllenD)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> retain HTML with spooky diet
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts