[ic] Display price Dynamically

Kevin Walsh kevin at cursor.biz
Thu Sep 7 12:52:07 EDT 2006


"Steve Bronson" <steve at airdelights.com> wrote:
> I'm using a fly page to display info on products including pricing.  In the 
> comment field for the item I use something like [price B-254]  (B-254 being 
> the item number).
> 
> When I look at the source code for the html page I see this
> &#91;price B-254]
> 
> which causes the price not to display.  Can anyone suggest a better way to 
> display pricing for an item, or how to solve this problem?
> thanks 
> 
It is generally unsafe to include ICML tags in your database and then
have the selected data interpolate onto your page.

Having said that, if you can be sure of the source of the data (product
data entered by an authorised administrator is probably ok) then
you can declare your data safe by adding the following Pragma to your
page:

    [pragma safe_data]

See this page for more information, and for some more warnings:

    http://www.interchange.rtfm.info/icdocs/pragma/safe_data.html

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/


More information about the interchange-users mailing list