[FX.php List] POSTing via Ajax to FX.php loses the newline
chars--where?
Marisa Smith
listmember at datasmithconsulting.net
Thu Mar 8 10:58:13 MST 2007
I had a similar problem using AJAX to send data from a textarea back
to Filemaker, and it turned out that it was something with how ascii
characters are handled. Try this:
$AnnounceText = str_replace(chr(10), "\r\n", $AnnounceText);
On Mar 8, 2007, at 12:41 PM, Derrick Fogle wrote:
> That line as emailed won't change $AnnounceText - was that just a
> copy/paste mistake?
>
> $AnnounceText = str_replace("\n", "\r", $AnnounceText);
>
>
> On Mar 8, 2007, at 11:35 AM, Carl Anderson wrote:
>
>> I added this line:
>>
>> str_replace("\n", "\r", $AnnounceText);
>
>
> Derrick Fogle
> derrick at fogles.net
>
>
>
> _______________________________________________
> 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