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

938 Views

Avatar
bebabeba

2 March 2009 at 10:04pm Community Member, 192 Posts

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');
}