note 54873 deleted from function.wordwrap by betz

From: Date: Mon, 18 Jul 2005 17:00:16 +0000
Subject: note 54873 deleted from function.wordwrap by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-92120@lists.php.net to get a copy of this message
Note Submitter: dividedbyvoid at gmail dot com ---- Is there a way to divide text into columns using a PHP script, so that no matter how long the text block is, it is divided into blocks (div tags maybe?) with an exact number of lines in each? So that if this string is divided to 5 rows per column, with 9 chars in each row: xxx xxxxx xx xxxxxx xxx xxxxx xxx xx xxxxx xxx xxxxx xxxx x Would output something like this: [DIV 1] | [DIV 2] xxx xxxxx | xxxxx xx- xx xxxxxx | xx x xxx xxxxx | xxx xx x- | xxxx xxx |

« previous php.notes (#92120) next »