<div dir="ltr"><span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">Please try this, hope it will help you.</span><div><span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">$node->field_book_title['und']</span><span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">['0']['value'] = </span>htmlentities(addslashes(<span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">$</span><span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">node->field_book_title['und'][</span><span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">'0']['value']</span>));</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 3, 2013 at 2:37 AM, Pia Oliver <span dir="ltr"><<a href="mailto:pia@piasworld.com" target="_blank">pia@piasworld.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a custom module which replaces some asci characters with htlm<br>
equivalent for display on the webpages. I am exporting from a<br>
FileMaker database and importing via Feeds Module.<br>
<br>
In my custom module I added this:<br>
<br>
$node->field_book_title['und']['0']['value'] =<br>
str_replace("&#39;","'",$node->field_book_title['und']['0']['value']);<br>
<br>
and then get an error and cannot see the screen. I want to display an<br>
apostrophe in the appropriate places and thought I did it correctly<br>
but ...<br>
<br>
I also want to replace "<br>" with a line break and now am afraid of<br>
trying that ... suggestions please.<br>
<br>
thanks,<br>
<br>
Pia<br>
<br>
--<br>
<br>
Randall House<br>
(member Antiquarian Booksellers' Association of America -<br>
<a href="http://www.ABAA.org" target="_blank">http://www.ABAA.org</a> , ILAB, IOBA)<br>
835 Laguna Street<br>
Santa Barbara, California 93101<br>
<br>
(805) 963-1909 fax (805) 963-1650<br>
<<a href="http://www.RandallHouseRareBooks.com" target="_blank">http://www.RandallHouseRareBooks.com</a>><br>
<br>
Know who your Internet bookseller is! Look for the ABAA membership logo, the<br>
Antiquarian Booksellers' Association of America - now more than 50<br>
years of professional organization requiring its members to have a<br>
proven track record of knowledge and experience, and to abide by a<br>
written code of ethics.<br>
<span class="HOEnZb"><font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks,<br>Rajendra Kumar Thakur<br>9313055271<br>Skype:- raj_php<br><a href="http://www.paridhansoft.com" target="_blank"></a>
</div>