<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022153" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022153</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136652</link>
    <description> &lt;p&gt;What was the solution?&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Aug 2003 16:35:11 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1136652 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136645</link>
    <description> &lt;p&gt;Thanks for your help everyone!  I found out what my problem is and it&#039;s working fine now.&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;br /&gt;
Devil&#039;s Angel&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Aug 2003 13:38:28 +0000</pubDate>
 <dc:creator>Devil&#039;s Angel</dc:creator>
 <guid isPermaLink="false">comment 1136645 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136644</link>
    <description> &lt;p&gt;I tried using Server.HTMLDecode and it doesn&#039;t display any of the information in the field.&lt;/p&gt;
&lt;p&gt;I&#039;ve tried replacing the  in the memo field with [bold] and then changing it back in my asp script and it replaces it but it still displays  in the information.&lt;/p&gt;
&lt;p&gt;Devil&#039;s Angel&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Aug 2003 12:58:23 +0000</pubDate>
 <dc:creator>Devil&#039;s Angel</dc:creator>
 <guid isPermaLink="false">comment 1136644 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136584</link>
    <description> &lt;p&gt;You will need to use this:&lt;br /&gt;
Server.HTMLDecode(strTextFromDB)&lt;/p&gt;
 </description>
     <pubDate>Wed, 20 Aug 2003 18:55:26 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1136584 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136579</link>
    <description> &lt;p&gt;because that&#039;s what a browser does., and it means it&#039;s not converting to ascii but to the html shorts. now if you&#039;re not doing any encoding, then there shouldn&#039;t be a problem, unless the people sending it TO the db do that, in which case you need to parse. again, i sugget perl for hte non-greedy ability if you have it. search for&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: &amp;lt;(.*?)&amp;gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;and replace with&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: &amp;lt;\1&amp;gt;&lt;/blockquote&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 20 Aug 2003 18:34:55 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1136579 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136578</link>
    <description> &lt;p&gt;The HTMLEncode is a method that applies HTML encoding to a specified string.&lt;/p&gt;
&lt;p&gt;The Examples from W3Schools is:&lt;/p&gt;
&lt;p&gt;The following script: &lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;response&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;write&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Server&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;HTMLEncode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;The image tag: &amp;lt;img&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;/p&gt;
&lt;p&gt;Output: &lt;/p&gt;
&lt;p&gt;The image tag: &amp;lt;img&amp;gt;Web browser output: &lt;/p&gt;
&lt;p&gt;The image tag: &lt;img /&gt;&lt;/p&gt;
&lt;p&gt;But when it calls on a field in my database it&#039;s not doing this.  I&#039;ve tried using &amp;lt; and &amp;gt; and it just shows them as plain text as well.&lt;/p&gt;
&lt;p&gt;I&#039;m not writing anything to this database just pulling data from it.  Those in charge of this content on our website enter the data into MS Access via a form in the database.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;
Devil&#039;s Angel&lt;/p&gt;
 </description>
     <pubDate>Wed, 20 Aug 2003 18:20:43 +0000</pubDate>
 <dc:creator>Devil&#039;s Angel</dc:creator>
 <guid isPermaLink="false">comment 1136578 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136574</link>
    <description> &lt;p&gt;ok. are you storing it in your db via that call? while i don&#039;t know asp it looke like it&#039;s suppossed ot be similar to php&#039;s htmlEntities or htmlSpecialChars, which actually changes &amp;lt;&amp;gt; among others into the ascii equivalents. if so you need to pare the information when you call it from your database. assuming you have something similar to preg_replace that uses the perl regular expressions, or something else ot do a regular expression replacing, then look foir the expression&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: 060&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;and change that to&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: &amp;lt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt; and look for&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: 062&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;and change that to&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: &amp;gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;if you have perl, which allows for non greedy, you can use &amp;lt; in your text as well as &amp;gt; by searching for&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: 060(.*?)062&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;and replacing with&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: &amp;lt;\1&amp;gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;be forewarned, i think the function hanges it to &amp;#060; and &amp;#062; but i can&#039;t be positive. i don&#039;t know enough about the php function and i don&#039;t know asp at all even though it was made as an answer to php (although i could probably pick it up really damn quickly due to myknowledge of php)&lt;/p&gt;
 </description>
     <pubDate>Wed, 20 Aug 2003 18:03:43 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1136574 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136573</link>
    <description> &lt;p&gt;Unfortunately my test area is not available to the public but here&#039;s the URL of a spot I&#039;ll be needing this:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.nscc.ca/Learning_Programs/part-time/Metro/qry_certificateid.asp?enterID=379&quot; class=&quot;bb-url&quot;&gt;http://www.nscc.ca/Learning_Programs/part-time/Metro/qry_certificateid.asp?enterID=379&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;In the description if I wanted to have all references to Microsoft Office in bold; the memo field in my database would look like this:&lt;/p&gt;
&lt;p&gt;Windows2000 and the Microsoft Office (Standard and Professional) suite of software applications has become very popular and in many cases the chosen standard within many home and business environments....&lt;/p&gt;
&lt;p&gt;When it is called on the website it looks exaclty the same.  The  tags are not being parsed they are only being seen as plain text.&lt;/p&gt;
&lt;p&gt;The ASP code I&#039;m using to call this memo is this:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Server&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;HTMLEncode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Fields&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Description&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Hope this makes sense.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;
Devil&#039;s Angel&lt;/p&gt;
 </description>
     <pubDate>Wed, 20 Aug 2003 17:50:44 +0000</pubDate>
 <dc:creator>Devil&#039;s Angel</dc:creator>
 <guid isPermaLink="false">comment 1136573 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136571</link>
    <description> &lt;p&gt;my guess is that in order to insert into the db you&#039;s getting encoded to ascii or something else, so instead of having the string  hey there returned you&#039;re getting (this is ascii but to show the character breask i&#039; putting | before each string of numbers. to reproduce this open an editor and hold down alt while typing the string, or prepend the number with &amp;amp;# and add ; to the end and but that into an html document. that&#039;s what i think your script is doing) |060|098|062|104|101|121|032|116|104|101|114|101|060|047|098|062&lt;/p&gt;
&lt;p&gt;while this is great for the db, it doesn&#039;t quite work right unless you convert it first&lt;/p&gt;
 </description>
     <pubDate>Wed, 20 Aug 2003 17:46:54 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1136571 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/displaying-html-tags-access-database#comment-1136565</link>
    <description> &lt;p&gt;URL please.&lt;/p&gt;
&lt;p&gt;Likely when coming out of the db, the &amp;lt;&amp;gt; are getting encoded.&lt;/p&gt;
 </description>
     <pubDate>Wed, 20 Aug 2003 16:59:28 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1136565 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
