<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>asci and html question in
Drupal</title></head><body>
<div>I changed the below from the lowest code with three quote marks
to the immediate below with quote mark, apostrophe, quote mark; I
wanted to have apostrophes in this field show properly on the
website.&nbsp; When I then uploaded this (part of a custom module) I
got a php error and the site did not appear. I had to restore to a
backup of the module.&nbsp; My question is how do I get it to do what
I want? Further, I need to change for the same filed &quot;&lt;br&gt;&quot;
to a new line. I have text in there which is exported from a database
and sometimes has &lt;br&gt; to create a new line in straight
html.</div>
<div><br></div>
<div>&nbsp;&nbsp; $node-&gt;field_book_title['und']['0']['value'] =
str_replace<font
color="#FF0000">(&quot;&amp;#39;&quot;,&quot;'&quot;,</font
>$node-&gt;field_book_title['und']['0']['value']);</div>
<div><br></div>
<div>it used to be:</div>
<div>&nbsp;&nbsp; $node-&gt;field_book_title['und']['0']['value'] =
str_replace(&quot;&amp;#39;&quot;,<font color="#FF0000">&quot;&quot;
&quot;</font>,$node-&gt;field_book_title['und']['0']['value']);</div>
<div><br>
<br>
</div>
<div><br></div>
<div>thanks,</div>
<div><br></div>
<div>Pia</div>
<div><br></div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
<br>
www.piasworld.com<br>
<br>
&quot;But where is the ambiguity? It's over there, in a box.&quot;
--J.Cleese</div>
</body>
</html>