• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

About <pre>

Hello:

i have a form that has for action a php
the form contains a text area in which the text is inserted without <enter>s so it's a long line

when i come in php i can put html.... and i want to use <pre> tag... how can i make in a <pre> make the text warp without using <brs>s in the text?

Rana
0
Sohel Rana
Asked:
Sohel Rana
1 Solution
 
HatembenCommented:
http://www.php.net/wordwrap

ex :
$mydata = wordwrap( $mydata, 120 );
0
 
VGRCommented:
yes
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now