This topic is locked

Line Breaks

8/26/2013 7:57:45 AM
PHPRunner General questions
O
onlline author

I need help,

I would break the line after a certain number of letters


Thanks in advanced

C
cgphp 8/26/2013

Set the "Description" field as Custom and add the following code:



$value = wordwrap($value, 40, "\n", true);



Replace 40 with the number of characters at which the string will be wrapped.

O
onlline author 8/26/2013



Set the "Description" field as Custom and add the following code:



$value = wordwrap($value, 40, "\n", true);



Replace 40 with the number of characters at which the string will be wrapped.


Christian,

I made a change to meet my need,
$value = wordwrap($value, 10, "<br />\n");
TEST

APPLICATION

TIME

SCALE

REAL AND
[color="#FF0000"]Now I need to do the opposite
like a certain field does not occur to break
Example
R$

1,000,000.00
Thanks in Advanced

C
cgphp 8/26/2013

Try to increase the column width.