Re: [PHP] How to wrap output of formatted text

2001-02-27 Thread CC Zona
In article 05d201c0a069$4877e0c0$[EMAIL PROTECTED], [EMAIL PROTECTED] ("Clayton Dukes") wrote: $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

[PHP] How to wrap output of formatted text

2001-02-26 Thread Clayton Dukes
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

Re: [PHP] How to wrap output of formatted text

2001-02-26 Thread Clayton Dukes
e - From: Clayton Dukes To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 9:59 PM Subject: [PHP] How to wrap output of formatted text 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_fetc

Re: [PHP] How to wrap output of formatted text

2001-02-26 Thread Stephan Ahonen
There's a PHP function that does this. See: http://www.php.net/wordwrap Sig for a Day Stephan Ahonen, ICQ 491101 "That's very funny Scotty, now beam down my clothes!" Come back tomorrow for a different sig! Backspace a single "s" to reply by email -- PHP General Mailing List