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
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
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
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
4 matches
Mail list logo