[nycphp-talk] Textarea formatting
David Krings
ramons at gmx.net
Thu Oct 19 18:56:50 EDT 2006
Hi,
you can't display tab in HTML and the textarea box takes just plain
ASCII. So any fancy spacing, indenting or such will either be stripped
or shown as single spaces. And HTML also cannot display an arry of
simple white space. You would need to convert that to non-breaking
spaces. But isn't there a function that translates all kinds of things
to the equivalent HTML code?
Ben Sgro (sk) wrote:
> Felix,
>
> Sure, that is helpful, but what about tabs, lists and all the other
> elements that could exist in an email message.
> I'm looking for a canned function or class that will do the work.
>
> Thanks.
>
> - Ben
>
> ....some code.....
> $details = str_replace("\n\r", "<br>", $cellSet[0]['info']);
More information about the talk
mailing list