Pagination based on the no.of characters in a variable

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am workign on a news portal which needs paginaiton as  usual.but all
the code i got depends on the number of records that will come from
database :( .it is working well too.

      But i need pagination depends on the number of rows or number
characters in  a variable.for example if there are more than 100
characters in that it should be display with pagination code.could any
one comeup with suggestios  on this .

Any suggetions will be appriciated.


Re: Pagination based on the no.of characters in a variable

Quoted text here. Click to load it

I have no clue where this data is or what you are doing with it...

strlen will tell you the amount of characters in a variable.
count will tell you how many items in an array

Further more if you were to do pagination on these items we couldn't  
help you unless you gave a bit more information and were a little more  

Mike Willbanks
Zend Certified Engineer

Site Timeline