Posted by Mike Willbanks on 09/17/05 01:22
Faree,
> 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 .
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
specific.
Mike Willbanks
Zend Certified Engineer
http://www.digitalstruct.com
Navigation:
[Reply to this message]
|