Re: chunk_split();

From: Date: Wed, 28 Jan 2004 16:29:28 +0000
Subject: Re: chunk_split();
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-176071@lists.php.net to get a copy of this message
maybe its better to use fread() and fseek() 2000 bytes should be 2000 characters in a textfile g. tinu Wed, 28 Jan 2004 11:20:32 -0500 Benjamin Trépanier <creation@communicationartistique.com>:
Hi, I am using the chunk_split(); function to separe a long long text on differents pages. At this time, I can split the string into x sections of 2000 characters. Now I need to show only the first 2000 . when user click on page #2, it¹s reloading and show the next 2000 characters... If he click the page 4 button, it¹s going to the 6000th caracters and it show his next 2000.. etc... How can I split this text on many pages without loosing any characters?? Maybe the chunk_split function is not the good one... Thanks Ben


« previous php.general (#176071) next »