9 lines
189 B
PHP
9 lines
189 B
PHP
|
|
||
|
<code type="php">
|
||
|
$sess = Doctrine_Manager::getInstance()->openConnection(new PDO("dsn","username","password"));
|
||
|
|
||
|
// gets the next ID from a sequence
|
||
|
|
||
|
$sess->getNextID($sequence);
|
||
|
</code>
|