[FX.php List] Submitting line breaks into FM field?

Kevin Futter kfutter at sbc.melb.catholic.edu.au
Wed Dec 12 20:27:54 MST 2007


On 13/12/07 2:14 PM, "Troy Meyers" <tcmeyers at troymeyers.com> wrote:

> Kevin,
> 
> Maybe you are looking for this:
> 
> http://www.php.net/manual/en/function.nl2br.php
> 
> I believe it you do that to the field data before sending to the browser it'll
> remain line-formatted as it was in the field.
> 
> -Troy

That only works for converting line breaks in FM to valid <br> elements in
HTML. I'm trying to get the line breaks in the string to insert successfully
into an FM field.

-- 
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.melb.catholic.edu.au/



#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################

This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. The College does not guarantee that this e-mail is virus or error free.  The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of the College.



More information about the FX.php_List mailing list