chunk_split();
| From: | Benjamin Trépanier | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | chunk_split(); | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176068@lists.php.net to get a copy of this message | ||
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