1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/manual/codes/Database operations - Limit and offset.php

8 lines
206 B
PHP

<?php
$sess = Doctrine_Manager::getInstance()->openConnection(new PDO("dsn","username","password"));
// select first ten rows starting from the row 20
$sess->select("select * from user",10,20);
?>