On Fri, November 3, 2006 12:33 am, jekillen wrote:
> I am scratching my head over the following:
> I have written code that is supposed to format text
> sent from a form in a textarea form element.
> This text does not have new lines added if
> the text is allowed to automatically wrap to the
> nex
function format_text($a, $b) // $a is text to format, from textarea, $b
is line length
{ $line = array();
$limit = (strlen($a)/$b);
for($i = 0; $i < $limit; $i++)
{
$start =
jekillen wrote:
Hello all;
I am scratching my head over the following:
I have written code that is supposed to format text
sent from a form in a textarea form element.
This text does not have new lines added if
the text is allowed to automatically wrap to the
next line. I want to automatically ad
Hello all;
I am scratching my head over the following:
I have written code that is supposed to format text
sent from a form in a textarea form element.
This text does not have new lines added if
the text is allowed to automatically wrap to the
next line. I want to automatically add new lines
to th
4 matches
Mail list logo