?
Solved

About  <pre>

Posted on 2003-03-10
2
Medium Priority
?
190 Views
Last Modified: 2006-11-17
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
Comment
Question by:Sohel Rana
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
Hatemben earned 200 total points
ID: 8106331
http://www.php.net/wordwrap

ex :
$mydata = wordwrap( $mydata, 120 );
0
 
LVL 15

Expert Comment

by:VGR
ID: 8109385
yes
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question