> <html>
> <body>
>
> <form method=post>
> <textarea name="str" cols=50 rows=10></textarea><br>
> <input type=submit>
> </form>
>
> <hr><pre>
> <?php
> $str = ereg_replace("([^\r\n])\r\n([^\r\n])", "\\1 \\2", $str);
> echo $str;
> ?>
> </pre>
>
> </body>
> </html>
Got it now. I didn't didn't have <pre></pre> tags in mine. With
the <pre> tags it works as prescribed. Thanks! The other
troubleshooting examples were helpful too to know what's
going on with those characters.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]