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 <[EMAIL PROTECTED]>:
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

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to