2007-04-12 20:52:30 +00:00
|
|
|
|
2007-04-13 21:49:11 +00:00
|
|
|
<code type="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);
|
|
|
|
</code>
|