Breaking Dynamic Content into Pages...

From: Date: Thu, 11 Jul 2002 04:54:54 +0000
Subject: Breaking Dynamic Content into Pages...
Groups: php.general 
Request: Send a blank email to php-general+get-107022@lists.php.net to get a copy of this message
I'm trying to determine the best way to break dynamic content into pages before flowing into a template (with "1|2|3" type paging icons at the bottom of the page). I considered using a user-defined type code like "[pagebreak]" that would allow content contributors to determine the page breaks themselves when entering the article into the database. A parsing function would grab the chunk of text/html between the appropriate [pagebreak] codes for each page. But this just doesn't seem a very elegant solution. Anyone know of a better way to do this? Thanks! Monty

« previous php.general (#107022) next »