[FX.php List] Yet another annoying single-quotes problem
Bob Patin
bob at patin.com
Fri Apr 27 18:35:29 MDT 2007
Well, I finally did an end-run and fixed it by using this:
$hospital = str_replace("’","'",$hospital);
and it works fine... strange though that there's not an easier way...
bob
On Apr 27, 2007, at 5:55 PM, Chris Hansen wrote:
> Bob,
>
> FX.php tries to be smart by encoding special characters as HTML
> entities. It you want plain text, try using the PHP function
> html_entity_decode() on the chunk that you want decoded. HTH
>
> --Chris Hansen
> FileMaker 8 Certified Developer
> FileMaker 7 Certified Developer
> Creator of FX.php
> "The best way from FileMaker to the Web."
> www.iViking.org
>
>
> On Apr 27, 2007, at 4:19 PM, Bob Patin wrote:
>
>> I get the feeling I've asked the same question 10 times, but I
>> don't think i've had this problem in this way yet:
>>
>> I'm adding some email functionality to a client's site, and when I
>> send myself a test email, I get this:
>>
>> St. Robert’s Hospital
>>
>> instead of
>>
>> St. Robert's Hospital
>>
>> I tried using STRIPSLASHES (which I knew was wrong, but I tried
>> anyway), and I tried HTMLENTITIES too; is there a command that
>> would prevent this when I'm sending a plain-text email?
>>
>> Thanks,
>>
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com
>> 615-333-6858
>> http://www.longtermsolutions.com
>>
>> CONTACT US VIA INSTANT MESSAGING:
>> AIM or iChat: longterm1954
>> Yahoo: longterm_solutions
>> MSN: tech at longtermsolutions.com
>> ICQ: 159333060
>>
>>
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list