perhaps I copied the wrong instance; what I want to do is to replace '  with an apostrophe. Your response to me looks like it's a quote mark? I mean a single quote mark/apostrophe like in "Pia's question"

thanks,

Pia

Metzler, David
April 25, 2013 17:01
asci and html question in Drupal

You’re using the wrong escaping syntax for php. You could use \ but I find it easier to use single quotes like this:

 

The double quote is surrounded by ‘  if you can’t read it.

 

 

_replace("'",’”’,$node->field_book_title['und']['0']['value']);

 

 


--
Pia Oliver

<http://www.piasworld.com>