Re: [PHP] Character Question

2004-03-12 Thread Filip de Waard
On Mar 12, 2004, at 11:24 PM, Pablo Gosse wrote: David Westbrooks wrote: I have articles held in a MySQL database for a law firm. When I pull the information from the DB and display it, words like "that's" are shown as "that\'s". To take care of this problem I have done this: $newsart = eregi_repla

RE: [PHP] Character Question

2004-03-12 Thread Pablo Gosse
David Westbrooks wrote: > I have articles held in a MySQL database for a law firm. When I pull > the information from the DB and display it, words like "that's" are > shown as "that\'s". To take care of this problem I have done this: > $newsart = eregi_replace("\\\'","'", $newsart); > > Is ther

[PHP] Character Question

2004-03-12 Thread David Westbrooks
I have articles held in a MySQL database for a law firm. When I pull the information from the DB and display it, words like "that's" are shown as "that\'s". To take care of this problem I have done this: $newsart = eregi_replace("\\\'","'", $newsart); Is there a better way to handle this to catch