* dan <[EMAIL PROTECTED]> [010729 11:11]:
> Problem is, the only new lines are at the end of paragraphs, so that, in
> effect, is limiting them to 55 paragraphs. I'm using a wrap=physical> which says that it adds a "%0A%0D" (carriage return/line
> feed) at the end of each line.
>
> Anyone kno
Thanks for the quick answers.
Problem is, the only new lines are at the end of paragraphs, so that, in
effect, is limiting them to 55 paragraphs. I'm using a which says that it adds a "%0A%0D" (carriage return/line
feed) at the end of each line.
Anyone know how to convert that to a "\n" ?
Hiya Dan,
If you're expecting new lines, you could do this:
$length = explode("\n", $message);
if (sizeof($length) > 55) {
// error
}
And also limit the number of characters, using strlen()
James
"Dan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
3 matches
Mail list logo