On Sunday 11 March 2001 14:37, Jens wrote:
> You have probably had this question a few times, but can anyone tell me how
> to detect "new line's" or breaks in form fealds from both PC and Mac. And
> then replacing the "new line" with a <br> so that I can use it for the web?
$string = nl2br( $string );
--
Bård Farstad
Systems developer
ez.no | developer.ez.no | zez.org
--
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]