You are here: Re: Pagination based on the no.of characters in a variable « PHP Programming Language « IT news, forums, messages
Re: Pagination based on the no.of characters in a variable

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация