Hi, I have an action with this code:
$c = new Criteria(); $c->addJoin(sfGuardUserProfilePeer::USER_ID, sfGuardUserGroupPeer::USER_ID, Criteria::INNER_JOIN); $c->add(sfGuardUserGroupPeer::GROUP_ID, 2 ); $this->pager = new PropelPager($c, 'sfGuardUserProfilePeer', 'doSelect', $page = 2, $rowsPerPage = 1); And in the corresponding template this: <table> <?php foreach ($pager->getResult() as $book): ?> <tr> <td><?php echo $book->getName() ?></td> <td><?php echo $book->getSurname() ?></td> </tr> <?php endforeach; ?> </table> When i call the action I get the first page with the first results, but what is the URL for the page 2 ? Thanks! sf 1.4/pr 1.5 Javi -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en