open source php search and pagination script?
i have a database full of rows of data.
i need an open source php search and pagination script.
so all i need to do is hook it up to the database, and results will be paginated. also the searching function optim开发者_如何学Pythonized already....
Your question is so "freeform" so my answer is also. Take a look at the Zend Framework Pagintor and Search modules:
- http://framework.zend.com/manual/en/zend.paginator.html
- http://framework.zend.com/manual/en/zend.search.lucene.html
Paginator is very good and easy to use. Easy to integrate with somesort of caching and etc, but I have never really used search, so I cant comment on that.
Yii framework has exactly what you need. Take a look here:
http://www.yiiframework.com/doc/api/CPagination
精彩评论