[FX.php List] POSTing via Ajax to FX.php loses the newline
chars--where?
Carl Anderson
Carl.Anderson at asu.edu
Thu Mar 8 10:50:55 MST 2007
Ack! You're right, I wasn't assigning it (for some reason I thought the
function was used to change the variable in-place).
That, with the \n to \r business, fixed the problem! Thanks, all.
--
Carl Anderson
Technical Support Analyst
Distance Learning
Herberger College of the Arts
Arizona State University
http://herbergeronline.asu.edu
> From: Derrick Fogle <derrick at fogles.net>
> Reply-To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Date: Thu, 8 Mar 2007 11:41:59 -0600
> To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Subject: Re: [FX.php List] POSTing via Ajax to FX.php loses the newline
> chars--where?
>
> 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