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:
$record=$db->query('SELECT * FROM documents');