Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

pagination


Reply


959 Views

Avatar
bebabeba

Community Member, 193 Posts

2 March 2009 at 10:04pm

Hi!
I follow guide about search form to create pagination but I have some problem.
I have a query to an external database and I need print 10 result for every page. Can you help me to make pagination?

this is my query:

function Query_result()
{
$record=$db->query('SELECT * FROM documents');
}