You are here: Re: [PHP] Filemaker Checkbox Data Problem... « PHP « IT news, forums, messages
Re: [PHP] Filemaker Checkbox Data Problem...

Posted by John Nichel on 04/01/05 01:31

Nick Zukin wrote:
> Will do. The only funky workaround I've found so far is just pasting the
> character into a str_replace. It appears as a little unknown character box
> in both EditPlus and Dreamweaver. What's funny, though, is that if I try to
> paste it as part of the line here in Outlook 2000 like this:
>
> $mystring = str_replace("
> ", ", ", $mystring);
>
> It breaks the line up, apparently creating a carriage return. Ugh. I'd
> sure like to find a less hacky way to do it. I've done a lot of googling
> and haven't found anything yet.

Yeah, that sounds like what I went thru...'cept on my end, I didn't have
to match the character, I had to create it...which is what the chr(29)
made. Have you tried setting the character to a variable, before doing
the string replace?

$funky = chr(29);
$mystring = str_replace ( $funky, ", ", $mystring );

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация