2007-04-12 20:52:30 +00:00
|
|
|
|
|
|
|
<code type="php">
|
2006-08-21 22:51:27 +00:00
|
|
|
$sess = Doctrine_Manager::getInstance()->openConnection(new PDO("dsn","username","password"));
|
2006-07-23 21:08:06 +00:00
|
|
|
|
|
|
|
// select first ten rows starting from the row 20
|
|
|
|
|
|
|
|
$sess->select("select * from user",10,20);
|
2007-04-12 20:52:30 +00:00
|
|
|
</code>
|