Page 1 of 1

Posted: Wed Feb 12, 2003 5:31 pm
by Redcircle
use the function nl2br() in the output.

example

echo nl2br($row['body');

What this function does is change all new line chars (\n) to an html <br>

Posted: Wed Feb 12, 2003 5:53 pm
by Redcircle
put the output within a table with a fixed width

<table width="100"><tr><td>blah blah blah....</td></tr></table>

Posted: Wed Feb 12, 2003 6:11 pm
by Redcircle
if it were a normal sentence with spaces between the characters it would contrain it within the 100