RE: [PHP-DB] str_replace removing unwanted characters...

2008-03-01 Thread VanBuskirk, Patricia
Thanks again Daniel ... I'll look into the html_entity_decode and see what I can figure out. You have a great weekend too! -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2008 7:06 PM To: VanBuskirk, Patricia Subject: Re: [PHP-DB] str_replace

[PHP-DB] str_replace removing unwanted characters...

2008-02-29 Thread VanBuskirk, Patricia
Someone from this list (sorry I cannot remember the name), a while back, gave me the following function to use to get rid of unwanted characters coming in on forms: function convert_smart_quotes($string) { $search = array(chr(145), chr(146),

Re: [PHP-DB] str_replace removing unwanted characters...

2008-02-29 Thread Daniel Brown
On Fri, Feb 29, 2008 at 2:18 PM, VanBuskirk, Patricia [EMAIL PROTECTED] wrote: Someone from this list (sorry I cannot remember the name), a while back, gave me the following function to use to get rid of unwanted characters coming in on forms: function convert_smart_quotes($string) {