Thanks! :)
"Bobby Patel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> try this
> $string = ereg_replace ('\r\n|\n|\r', '', $string);
> OR
> $string = nl2br($string);
>
> NOTE: for me the first case will remove the newline, whereas the second
will
> keep them (It might be becuase
try this
$string = ereg_replace ('\r\n|\n|\r', '', $string);
OR
$string = nl2br($string);
NOTE: for me the first case will remove the newline, whereas the second will
keep them (It might be becuase of my old php version [4.06]?)
"Zavaboy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
2 matches
Mail list logo