How to wrap output of formatted text

From: Date: Tue, 27 Feb 2001 02:59:21 +0000
Subject: How to wrap output of formatted text
Groups: php.general 
Request: Send a blank email to php-general+get-41783@lists.php.net to get a copy of this message
Hi all, how can I tell the output from a mysql query to wrap the cols at 80 (or whatever)? here's what I have: $row = mysql_fetch_array($sth); if ($row[0] != "") { echo $row[0]; prints the data, but some of the results are long strings of text that don't wrap in the browser, how can I force them to wrap at the edge of the browser? Thanks, Clayton Dukes

« previous php.general (#41783) next »