this is discussed in the posted comments under the function section of nl2br on php.net.
But from what I remember there is no br2nl() (unfortunately). just goto php.net/nl2br and search the posted comments for br2nl Bobby "Petre Agenbag" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > I want to have a textarea that contains details read from a mysql table, > but I want to echo each row so that it is on a new line. What is the > "new-line" character for a textarea? ( in effect the reverse of nl2br() > ) > > Thanks > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php